Lookup formula

njenkins

New Member
Joined
Nov 24, 2012
Messages
23
I have a worksheet with dates in the first column and header rows are jobs to do. Each row has initials of people set to do those jobs. There may be more than one job per person - shown as that persons initial being in more than one column in any particular row.

The sheet is not easy to read for an individual person. I’d like a formula to create an individualised sheet for each person showing their jobs each day.

The worksheet would probably start with dates down the initial column - then a lookup formula pointing to the original worksheet and the row of the corresponding date. It would then look for cells with that persons initials in, and show the corresponding header row to that cell. It would need to cope with there potentially being several or no instances of the initials in any row.
 
Re: Lookup formula help

btw is there any way it could be adapted to included a cell in the initial worksheet which contains the two sets of initials eg. "FR and NJ" rather than just included those with just "FR"

It would be easier if those two sets of initials were in separate cells. Can you work with that?

Can you post the working formula that you now have and let us know which cells will contain the sets of initials?
 
Upvote 0

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
Re: Lookup formula help

the formula is
=IFERROR(INDEX(Sheet1!$B$1:$T$1,AGGREGATE(15,6,(COLUMN(Sheet1!$B$1:$T$1)-COLUMN(Sheet1!$B$1)+1)/(INDEX(Sheet1!$B$2:$T$140,MATCH($A2,Sheet1!$A$2:$A$140,0),0)=$B$1),COLUMNS($B2:B2))),"")

so, at present the cells might contain one set of initials, eg "BF", or they could contain two sets of initials "BF or NJ" where a job has not yet been properly allocated.
 
Upvote 0
Re: Lookup formula help

at present the cells might contain one set of initials, eg "BF", or they could contain two sets of initials "BF or NJ" where a job has not yet been properly allocated.

So it's the cells in sheet1 that may contain two sets of initials?

If so, one option:

Code:
=IFERROR(INDEX(Sheet1!$B$1:$T$1,AGGREGATE(15,6,(COLUMN(Sheet1!$B$1:$T$1)-COLUMN(Sheet1!$B$1)+1)/(ISNUMBER(SEARCH($B$1,INDEX(Sheet1!$B$2:$T$140,MATCH($A2,Sheet1!$A$2:$A$140,0),0)))),COLUMNS($B2:B2))),"")
 
Upvote 0

Forum statistics

Threads
1,223,234
Messages
6,170,891
Members
452,366
Latest member
TePunaBloke

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