Hello, I manage to get the formula for 1st non blank text, but have problem for next non blank text formula. I need help for formula to get nth non blank text (yellow cell in attachment)
Picture3.jpg
TIA
Jason
Hello, I manage to get the formula for 1st non blank text, but have problem for next non blank text formula. I need help for formula to get nth non blank text (yellow cell in attachment)
Picture3.jpg
TIA
Jason
Pls attach a sample excel file
Samba
Say thanks to those who have helped you by clicking Add Reputation star.
In the absence of a sample file, this will get you there.
In C16, enter this array formula and drag it to the right:
=IFERROR(INDEX(5:9,MATCH($B$16,$B$5:$B$9,0),SMALL(IF(INDEX($C$5:$L$9,MATCH($B$16,$B$5:$B$9,0),)<>"",COLUMN($C$5:$L$9)),COLUMNS($A:A))),"")
Array Formulae are a little different from ordinary formulae in that they MUST be confirmed in the FIRST CELL ONLY by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. After that, the array can be dragged down as normal, to cover the desired range.
You will know the array is active when you see curly brackets { } - or "curly braces" for those of you in the USA, or "flower brackets" for those of you in India - appear around the outside of your formula. If you do not use CTRL+SHIFT+ENTER you will (almost always) get an error message or an incorrect answer. Press F2 on that cell and try again.
Don't type the curly brackets yourself - it won't work...
Glenn
None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.
Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh
Hi Glenn,
thanks that works.
& sorry about not attachment. I can't get attachment to work, it just shows a blank box when I click it.
Now I need help to get the correct header in case of duplicated content (yellow highlight)
Picture1.jpg
Thanks again
Jason
This is sample file
Book 1, r2.xlsx
Regards
Jason
Onw way (array formula, again):
=IFERROR(INDEX($4:$4,SMALL(IF(INDEX($C$5:$L$9,MATCH($B$16,$B$5:$B$9,0),)=C16,COLUMN($C$5:$L$9)),COUNTIF($C16:C16,C16))),"")
If that takes care of your original question, please select "Thread Tools" from the menu link above and mark this thread as SOLVED.
It'd also be appreciated if you were to click the Add Reputation button at the foot of any of the posts of all members who helped you reach a solution.
Minor tweak needed (not in sheet above):
=IFERROR(IF(C16="","",INDEX($4:$4,SMALL(IF(INDEX($C$5:$L$9,MATCH($B$16,$B$5:$B$9,0),)=C16,COLUMN($C$5:$L$9)),COUNTIF($C16:C16,C16)))),"")
haha was about to ask you to clear that issue. Your tweak did it!!
Thanks 1 million
Jason
I'll just make some QC check before marking the tread as [SOLVED]
No problem. Just shout if you hit any snags.
If that takes care of your original question, please select "Thread Tools" from the menu link above and mark this thread as SOLVED.
It'd also be appreciated if you were to click the Add Reputation button at the foot of any of the posts of all members who helped you reach a solution.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks