I am trying to copy data from column E (cost) to sheet1, where the value in column A (code) in sheet2 corresponds to the value in column A (code) in sheet 1.
1 +--------+--------+---------------+---------+--------+ | A | B | C | D | E | +--------+--------+---------------+---------+--------+ | Code | Name | Description | Price | Cost | +--------+--------+---------------+---------+--------+ | AC33 | Prod 1 | Prod Desc 1 | 3.99 | 2.00 | +--------+--------+---------------+---------+--------+ | AC34 | Prod 2 | Prod Desc 2 | 4.99 | 3.00 | +--------+--------+---------------+---------+--------+ | AC35 | Prod 3 | Prod Desc 3 | 5.99 | 4.00 | +--------+--------+---------------+---------+--------+ 2 +--------+--------+---------------+---------+ | A | B | C | D | +--------+--------+---------------+---------+ | Code | Name |Updated Price | Cost | +--------+--------+---------------+---------+ | AC33 | Prod 1 | 16.99 | | +--------+--------+---------------+---------+ | AC37 | Prod 2 | 18.99 | | +--------+--------+---------------+---------+ | AC38 | Prod 3 | 21.99 | | +--------+--------+---------------+---------+
I used VLOOKUP but it does not work, can anyone help? Am I using Vlookup correctly?
This is the formula I drag in column D of sheet2
= VLOOKUP (A2, '1' $ A $ 2: $ A $ 811.5)
Try the following:
=VLOOKUP(A2,'1'!$A$2:$E$811,5,0)
'1'!$A$2:$A$811 '1'!$A$2:$E$811 ( @Jerry , " , VLOOKUP on, , , , " ), VLOOKUP 0, VLOOKUP, .
'1'!$A$2:$A$811
'1'!$A$2:$E$811
VLOOKUP
0
UPD:
, OP:
=VLOOKUP(TRIM(A2),'1'!$A$2:$E$811,5,0)
Source: https://habr.com/ru/post/1524673/More articles:Контексты дочерних элементов CoreData, NSFetchedResultsController и основной поток - multithreadingCloudera hadoop: Could not start the Hadoop fs command, and at the same time HBase cannot create a directory on HDFS? - hadoopHow to align ImageView and TextView directly in a linear layout - androidHow to unit test xml file? - c #spring batch ItemReader FlatFileItemReader set the cursor to start reading from a specific line or set linestoskip dynamically - springSpring batch job csv file reads recovery from a line in which it was not executed - springPostback report and browser writeback issues in asp.net - cross-browserAdding a field to a work item in TFS results in a permission error - tfsPHP session lost after submit - phpHow to add comma format to number after page loading using jquery - javascriptAll Articles