ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Using Vlookuop and then calculating (https://www.excelbanter.com/excel-worksheet-functions/89582-using-vlookuop-then-calculating.html)

Jaco Jacobs

Using Vlookuop and then calculating
 
I have a sheet that has various different values and I would like to check
for the same number then take one figure from another.


A has value 3000001 and so has D and I but in different rows
In columns B and E there are values that would need to be taken from each
other but only if D and A match with I.
The calculation needs to be in J

Hope this makes sense

Joe Mac

Using Vlookuop and then calculating
 
Give this a try in Colum J

=IF(ISERROR(OR(VLOOKUP(I1,$A$1:$B$5,2,0),VLOOKUP(I 1,$D$1:$E$5,2,0))),"Entry
not found",VLOOKUP(I1,$A$1:$B$5,2,0)-VLOOKUP(I1,$D$1:$E$5,2,0))
--
Thanks for your help -
Joe Mac


"Jaco Jacobs" wrote:

I have a sheet that has various different values and I would like to check
for the same number then take one figure from another.


A has value 3000001 and so has D and I but in different rows
In columns B and E there are values that would need to be taken from each
other but only if D and A match with I.
The calculation needs to be in J

Hope this makes sense



All times are GMT +1. The time now is 06:10 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com