=if(or)=indirect(),index(match(countif)) returns 0

Nazerith

New Member
Joined
Sep 13, 2011
Messages
6
First cell
=IF(OR(I26,J26)=INDIRECT(C8),INDEX(Name,MATCH(COUNTIF(Sheet20!A3:A19,"utility")-1&Sheet20!C4,Sheet20!A4:A21&time_in,0),INDEX(Name,MATCH(Sheet20!A4&Sheet20!C4,Sheet20!A4:A21&time_in,0))))

I26+H26 are merged cells

C8 ia one of the names in the Names list

Second cell
Utility K26

Third Cell
=indirect(I26) indirect(K26) inserted into cell L26

all data is on Sheet 20


This returns 0


translation
if, (the contents of cell I26 contain cell C8 contents, find the Name for the next person that has the job "utility" from sheet 20 and link it with the name associated with that jobcode to the box left of "utility", and once you have the name and job code find Time_in that coincides with those 2 and enter them in the box to the left of "utility")
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.

Forum statistics

Threads
1,224,506
Messages
6,179,159
Members
452,892
Latest member
yadavagiri

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