IF Vlookup query

Marianka

New Member
Joined
Aug 11, 2021
Messages
2
Office Version
  1. 2019
Platform
  1. Windows
Good day,

I have 2 sheets within a workbook.

One sheet will compare items and prices across various branches and he other sheet contains a list of items from the branches.
On the comparison sheet, I want to run a calculation that first checks the branch and then the item code and related values which must then be returned to the cells on the comparison sheet.
1628665572437.png

1628665609667.png
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
Hi and welcome to MrExcel,

try this and see if this is fit for purpose:
Book1
ABCDEFGH
1H&M VereenH&M Cape
2CodeUnitQTYPricePrice per unitQTYPricePrice per unit
3AerotheneMetre333222
comparison
Cell Formulas
RangeFormula
C3:H3C3=INDEX(CAPE!$D$2:$F$15,MATCH(1,(OFFSET(C$1,0,-MATCH(C$2,CAPE!$D$1:$F$1,0)+1)=CAPE!$A$2:$A$15)*(comparison!$A3=CAPE!$B$2:$B$15),0),MATCH(C$2,CAPE!$D$1:$F$1,0))
 
Upvote 0
Can you show your attempt using XL2BB.
That’s an add in which copies data, range and formula. See forum FAQ for the link.
 
Upvote 0

Forum statistics

Threads
1,214,979
Messages
6,122,551
Members
449,088
Latest member
davidcom

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