Adding extra step to Index Match Formula

Sundance_Kid

Board Regular
Joined
Sep 2, 2017
Messages
155
Office Version
  1. 365
Platform
  1. Windows
Hi, I have index match formula that is returning the correct value, however, I want to add an extra step and if cell 3 says "Plane" I want the value returned to be multiplied by 2 or else if it says "Boat" it is multiplied by 1. In the example I have included it says Plane so should be multiplied by 2.
Any idea how I can add that final piece to the formula?

Thanks

Book1
BCDEFGHIJ
1
2
3Country/ProductABCTransportBoat
4France€5.00€6.00€7.00ProductC
5Germany€3.00€4.00€5.00CountrySpain
6Italy€2.00€1.00€4.00Price€3.00
7UK€5.00€5.00€5.00
8Spain€1.00€2.00€3.00
9
10
11
Sheet1
Cell Formulas
RangeFormula
I6I6=INDEX($C$4:$E$8,MATCH(I5,$B$4:$B$8,0),MATCH(I4,$C$3:$E$3,0))
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
A couple of typos, I mean cell I3 and in the example I gave it says Boat, so should be multiplied by 1 and not 2
 
Upvote 0

Forum statistics

Threads
1,221,418
Messages
6,159,791
Members
451,589
Latest member
Harold14

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