View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Need a "Find Next" Formula

One simple set up to get you there w/o fuss
Data is assumed in row 1 down in sheets: Day & Monday

In Monday,
You have the lookup values listed in A1 down as posted
In B1: =IF(A1="","",A1&COUNTIF($A$1:A1,A1))
In C1: =IF(Day!B1="","",Day!B1&COUNTIF(Day!$B$1:B1,Day!B1 ))
In D1: =IF(A1="","",INDEX(Day!A:A,MATCH(B1,C:C,0)))
Select B1:C1, copy down to D4. Minimize/hide away cols B & C. Col D will
return the required results.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Matt" wrote:
I am creating a schedule spreadsheet with sheets for everyday of the week and
the shifts. On the sheet listed €śDay€ť I have Names in column A, Sections in
column B (ex would be W, E, HLS). On the sheet €śMonday€ť in column A is a list
of sections (ex is W,W and E,E). I need to have the various names listed by
the assigned areas.

Before After Forumla
Sheet Day Sheet Monday Sheet Monday
Col A Col B Col A Col B Col A Col B
Jon W W W Jon
Pam E W W Tom
Tom W E E Pam
Nick E E E Nick

I could use the following formula in Monday B1 but it would return the same
name in B2.
=IF(ISNA(MATCH(A1,Day!$B$1:$B$4,FALSE)),"",INDEX(D ay!$A$1:$A$4,MATCH(A1,Day!$B$1:$B$4,0)))
Can I nest a Row formula +1?