VLookup - cost of Sales

akber.431

New Member
Joined
Jun 1, 2011
Messages
42
can anyone help me in excel

i have 2 worksheet to calculate cost of sales

sheet 1)A Barcode
B Item Name
C) Cost Price


Sheet 2) A) Barcode
B) Item Name
C) Sold Qty
D) Sold Amount
E) Cost Price

to know the cost of Sales i m using theVlookup formula but the function the formula its calculating some cells and rest its showing #N/A

=VLOOKUP(A75:A1500,'Price List'!A75:D1784,3,FALSE)

i m fed with this forumla and please give me any ideas to know the exact of cost sales

any would be appreicated
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
Looks like you may need to lock your cell range. i.e. adding $ to the range ($A$1:$A$10)

Normally =VLOOKUP(cell,cell_range,column_index,false)
 
Upvote 0
Why are you using the range A75:A1500 at the start of your vlookup?

Would I be right in thinking that you are inputting the formula given in column E of the second sheet?
 
Upvote 0
Why are you using the range A75:A1500 at the start of your vlookup?

Would I be right in thinking that you are inputting the formula given in column E of the second sheet?


sorry , i copied the formula from cell A75, but i tried from cell A5


yes your r right i put the formula for cost price in column E


in which way i can solve this problem?
 
Upvote 0
=VLOOKUP(A75:A1500,'Price List'!A75:D1784,3,FALSE)

change to:

=vlookup(A75,'Price List'!$A$75:$D$1784,3,FALSE)

This locks your range so it doesn't move. You can press F4 to do this
 
Upvote 0

Forum statistics

Threads
1,224,592
Messages
6,179,789
Members
452,942
Latest member
VijayNewtoExcel

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top