Link to home
Start Free TrialLog in
Avatar of route217
route217Flag for United Kingdom of Great Britain and Northern Ireland

asked on

Formula returning #N/A

Hi Experts using excel 2010

I have the following formula in my workbook which works fine for all rows expect 6 row....where it returns #N/A

=INDEX(AC63:AH63,MATCH(REPT("C",255),AC63:AH63))

in columns AC to AH i have G G G C  

it should return back C but returns back #n/a for this row only...
Avatar of Shums Faruk
Shums Faruk
Flag of India image

Hi,

Try below formula for whole column AC to AH
=IFERROR(INDEX($AC:$AH,MATCH(REPT("C",255),$AC:$AH)),"")

Open in new window

Avatar of route217

ASKER

Hi SHUMS

I what the formula to return back C...

So if I have G G G G C C .. the c indicates that the job is complete..if no c the blank
Tell me the full range, because your formula has just one row 63.
Full rnge is 1 row.

Full formula is
=IFERROR (IF (INDEX(AC63:AH63,MATCH(REPT("C",255),AC63:AH63))="C",MAX (CG63:CL63),"")
What is in CG63:CL63?
Try this:
=IFERROR(IF(INDEX(AC63:AH63,MATCH(REPT("C",255),AC63:AH63))="C",MAX (CG63:CL63),""),"C")

Open in new window

Find the max date once we have c..
ASKER CERTIFIED SOLUTION
Avatar of Shums Faruk
Shums Faruk
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Excellent. ..thanks
You're Welcome! Pleased to help