Hi, I need to find a formula to get Item with section name, when copy row and insert to different section. Please see attached Excel sheet.
Hi, I need to find a formula to get Item with section name, when copy row and insert to different section. Please see attached Excel sheet.
Last edited by paulikk; 01-17-2021 at 06:49 AM.
Maybe this?
=CONCATENATE("ITEM_",LOOKUP(2,1/(LEFT($B$1:B3,7)="SECTION"),RIGHT($B$1:B3,1)),"_",A4)
Ali
Enthusiastic self-taught user of MS Excel who's always learning!
Don't forget to say "thank you" to anyone who has offered you help in your thread. You can reward them by clicking on * Add Reputation below theur user name on the left, if you wish.
Forum Rules (updated September 2018): please read them here.
How to use the Power Query code you've been given: help here. More about the Power suite here.
Please try
=IF(A4,"ITEM_"&RIGHT(LOOKUP(2,1/(LEFT(B$3:B3)="S"),B$3:B3))&"_"&A4,"")
Thanks a lot, this is what i needed.
If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.
But what if I want to copy and insert total SUM to different section with more rows? I'm able to find a formula for this? (see excel sheet attached)
This is a completely different query!
Have a look here: https://support.microsoft.com/en-us/...e-b0a3d4a52b3a
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks