That did the trick my friend Thank You very much. Now I need to study it so I can know how to do it for next time...lol
Thanks again.
That did the trick my friend Thank You very much. Now I need to study it so I can know how to do it for next time...lol
Thanks again.
From PM:
If you are referring still to the same workbook as you had previously attached... I think your merged columns are messing you up. It is advisable to no use merged columns as they lead to confusion and messy formulas....I tried to add another column but it's not working can you help me out on it it's returning a 0.
here is the formula
thx,![]()
=IF(P9="","",IF(ISNA(VLOOKUP(P9,DATA!$A$14:$C$23,3,0)),IF(ISNA(VLOOKUP(P9,DATA!$D$6:$E$23,2,0)),IF(ISNA(VLOOKUP(P9,DATA!$F$6:$G$23,2,0)),"",VLOOKUP(P9,DATA!$F$6:$G$23,2,0)),VLOOKUP(P9,DATA!$D$6:$E$23,2,0)),VLOOKUP(P9,DATA!$A$14:$C$23,3,0)))
mrggutz
Bust, as you have the sheet now, try instead
![]()
=IF(P9="","",IF(ISNA(VLOOKUP(P9,DATA!$A$14:$B$23,2,0)),IF(ISNA(VLOOKUP(P9,DATA!$C$6:$E$23,3,0)),IF(ISNA(VLOOKUP(P9,DATA!$F$6:$G$23,2,0)),"",VLOOKUP(P9,DATA!$F$6:$G$23,2,0)),VLOOKUP(P9,DATA!$C$6:$E$23,3,0)),VLOOKUP(P9,DATA!$A$14:$B$23,2,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.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks