Can anyone provide a solution to change 'N/A' in 'DAYS OFF (HIDDEN)' column to a zero?
Many thanks to anyone who can help.
Craig
Excel file attached.
Can anyone provide a solution to change 'N/A' in 'DAYS OFF (HIDDEN)' column to a zero?
Many thanks to anyone who can help.
Craig
Excel file attached.
Last edited by NBVC; 02-10-2011 at 08:39 AM.
Change formula to:
=IFERROR(INDEX($Q$2:$Q$5,MATCH(B2,$P$2:$P$5,0)),0)
Where there is a will there are many ways.
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
Thankyou, that worked a treat.
I do have one more question regarding this sheet.
If I were to add an input within the drop down boxes (SK & UL) and wanted there figures to individually add up in there own cells(SK=SICK DAYS & SICK DAYS HIDDEN), (UL=UNPAID DAYS, UNPAID DAYS HIDDEN) without being subtracted from 'REMAINING' , 'DAYS OFF (HIDDEN)' & DAYS OFF.
How could I do this?
I have attached the updated sheet.
Thanks again
Craig
I am not sure I follow...
Can you please elaborate with sample entries and desired results?
Not exactly sure but is it?
In K2:
=COUNTIF(B2:B10,"SK")
in L2:
=COUNTIF(B2:B10,"UL")
then in H2:
=(F2-J2+SUM(K2:L2))
with COUNTIF() you can expand the range in both directions...
so you can change your formulas in K2 and L2 to:
=COUNTIF(B2:D10,"SK")
and
=COUNTIF(B2:D10,"UL")
so now it will count all the matches in columns B and D
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks