Adding two index equasions into 1 cell

jislandhopper

Board Regular
Joined
Jul 23, 2013
Messages
92
Hi All,

I have two equations using index and work well individually. But as soon as I try to marry them both into 1 cell it fails.

The two equations are:

=IF(VLOOKUP(E83,podata,14,FALSE)=1,INDEX('[Operational Schedule (003).xlsb]Day Visit'!$B$2:$B$5000,MATCH(A83,'[Operational Schedule (003).xlsb]Day Visit'!$C$2:$C$5000,0)),"TBC")
The above looks at 1 index to return a value, if the IF statement is equal to . If higher it defers to the next Index equation.

=IF(VLOOKUP(E83,podata,14,FALSE)>1,INDEX('[Operational Schedule (003).xlsb]OCS'!$B$2:$B$5000,MATCH(A83,'[Operational Schedule (003).xlsb]OCS'!$C$2:$C$5000,0)),"Still got bugs")
Same concept as abovce but different array of data but working off the same method.

Together I thought it would work by trying the below with no luck :

=IF(VLOOKUP(E83,podata,14,FALSE)=1,INDEX('[Operational Schedule (003).xlsb]Day Visit'!$B$2:$B$5000,MATCH(A83,'[Operational Schedule (003).xlsb]Day Visit'!$C$2:$C$5000,0)),=IF(VLOOKUP(E83,podata,14,FALSE)>1,INDEX('[Operational Schedule (003).xlsb]OCS'!$B$2:$B$5000,MATCH(A83,'[Operational Schedule (003).xlsb]OCS'!$C$2:$C$5000,0)),""))

But this keeps saying the cell is 'false'
If you have any idea's or pointers it would be great as I've only used INDEX functions within simple returns before.

I can try to post the sheet but I think in reality it's the way i'm tyring to link the two formala's together.
Thanks
Jason
 
Last edited:

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
You need to remove the = sign before the 2nd IF
 
Upvote 0
Solution
Glad to help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,515
Messages
6,119,973
Members
448,933
Latest member
Bluedbw

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