"FALSE" When using IF with INDEX & MATCH

bfuentes1412

New Member
Joined
Apr 21, 2010
Messages
37
Office Version
  1. 365
Platform
  1. Windows
Hello,

I can't seem to get this formula to work. It will work if the initial statement "true" but if false it won't execute the second statement. The value in F6 should will be determined by the value in D6 OR E6. Only one value will be used, with D6 being the primary. The Calc should be: If the value in D6>0, D6 will be multiplied by a value in L6:L10 based on the matching value between B6, and K6:K10. If the value in D6 is <0 then the value of F6 will be determined by, E6 multiplied by B6, multiplied by a value in L6:L10 based on the matching value between B6, and K6:K10.

Thank you for your help!

fast charger calc.xlsx
ABCDEFGHIJKLM
4
5PFQTYKWKVAKWVOLTAGEQTYDF
60.739 - 1222FALSE1201 -41
72085 - 80.92
82409 - 120.87
948013 - 160.83
1017 - 280.81
11
Sheet1
Cell Formulas
RangeFormula
F6F6=IF(D6>0,D6*(INDEX(L6:L10,MATCH(C6,K6:K10),E6*B6*(INDEX(L6:L10,MATCH(C6,K6:K10))))))
Cells with Data Validation
CellAllowCriteria
C6List=$K$6:$K$10
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
Do you mean...
Excel Formula:
=IF(D6>0,D6*(INDEX(L6:L10,MATCH(C6,K6:K10))),E6*B6*(INDEX(L6:L10,MATCH(C6,K6:K10))))
 
Upvote 0
Solution
Thanks Mark!! That did it.

The marked solution has been changed accordingly. In your future questions, please mark the post as the solution that actually answered your question, instead of your feedback message as it will help future readers. No further action is required for this thread.
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,337
Members
452,637
Latest member
Ezio2866

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