+ Reply to Thread
Results 1 to 7 of 7

Formula to get Item with section name, when copy item to different section.

  1. #1
    Registered User
    Join Date
    10-23-2015
    Location
    Romania
    MS-Off Ver
    Office 365 for PC
    Posts
    33

    Formula to get Item with section name, when copy item to different section.

    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.
    Attached Files Attached Files
    Last edited by paulikk; 01-17-2021 at 06:49 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    79,369

    Re: Formula to get Item with section name, when copy item to different section.

    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" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Formula to get Item with section name, when copy item to different section.

    Please try

    =IF(A4,"ITEM_"&RIGHT(LOOKUP(2,1/(LEFT(B$3:B3)="S"),B$3:B3))&"_"&A4,"")
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    10-23-2015
    Location
    Romania
    MS-Off Ver
    Office 365 for PC
    Posts
    33

    Re: Formula to get Item with section name, when copy item to different section.

    Thanks a lot, this is what i needed.

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    79,369

    Re: Formula to get Item with section name, when copy item to different section.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  6. #6
    Registered User
    Join Date
    10-23-2015
    Location
    Romania
    MS-Off Ver
    Office 365 for PC
    Posts
    33

    Re: Formula to get Item with section name, when copy item to different section.

    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)
    Attached Files Attached Files

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    79,369

    Re: Formula to get Item with section name, when copy item to different section.

    This is a completely different query!

    Have a look here: https://support.microsoft.com/en-us/...e-b0a3d4a52b3a

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] EXCEL VBA Errortrapping IE.Document.getElementsByClassName("section-result-title").Item(i)
    By Keebellah in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 03-08-2020, 03:55 AM
  2. Replies: 1
    Last Post: 07-28-2017, 07:20 AM
  3. *** Copy sub section total value to main section***
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-13-2016, 03:14 AM
  4. Replies: 1
    Last Post: 06-16-2013, 07:36 AM
  5. Deleting Row Section without Disrupting Formula Range Outside of Deleted Section
    By JeffNYG23 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-14-2013, 09:10 AM
  6. Moving section headings from below section to above section..
    By Fayebaline in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 02-24-2011, 06:58 AM
  7. move that Row From the Waiting section to the completed section automaticly
    By jjsaw5 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-21-2007, 06:50 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1