VLOOOKUP Please help

B

brian.baker13

Hi

I am using VLOOKUP to calculate costs of overfill using a table of
data


I forgot to add in another type of unit that I needed to calculate so
created a 7th element to the table.


to add this into my vlookup I put a + sign in my formula:


=-(D18-(VLOOKUP(C18,'Data Table'!B3:G12,5,0)))*(VLOOKUP(C18,'Data
Table'!B3:G12,3,0)*E18/1000)+(D18-(VLOOKUP(C18,'Data Table'!
B3:G12,5,0)))*(VLOOKUP(C18,'Data Table'!B3:G12,7,0)*F18/1000)


repeated the formula again and added the 7th item on the table.


This does not help.


Please help


Cheers
Brian
 
P

Peo Sjoblom

Your table is only 6 columns so you can't return a result from the 7th
column. If indeed you expanded the table with one more column you need to
change B3:G12 to B3:H12
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top