+ Reply to Thread
Results 1 to 7 of 7

Formula move cell to other cell.

  1. #1
    Registered User
    Join Date
    01-25-2022
    Location
    Malaysia
    MS-Off Ver
    2019
    Posts
    4

    Formula move cell to other cell.

    Hi. I need help on this situation.

    I have a thousand list of student. So i need to sort their name, and if there is duplicate name, I need to see the column next to it, if the data is same, I can just delete the duplicate name. But if the data is different, i need to move it to other cell and delete the duplicate name. I have attached the file here.

    Thank you.
    Attached Files Attached Files

  2. #2
    Forum Expert KOKOSEK's Avatar
    Join Date
    08-03-2018
    Location
    Pole in Yorkshire, UK
    MS-Off Ver
    365/2013
    Posts
    2,737

    Re: Formula move cell to other cell.

    Can be like this:

    G
    H
    I
    J
    K
    1
    1
    2
    3
    4
    5
    2
    Sam a b
    3
    4
    John a b c
    5
    6


    G
    H
    1
    1
    2
    2
    =IF(A2<>A1,A2,"") =IF($G2<>$G1,IFERROR(INDEX($B:$B,AGGREGATE(15,6,IF($A$2:$A$6=$G2,ROW($A$2:$A$6),10^10),H$1-1)),""),"")


    Please note, that formula in H2 is array type, so you have to accept it with Ctrl+Shift+Enter (you should notice {} around) then drag it right and down.
    Attached Files Attached Files
    Happy with my answer * Add Reputation.
    If You are happy with solution, please use Thread tools and mark thread as SOLVED.

  3. #3
    Registered User
    Join Date
    01-25-2022
    Location
    Malaysia
    MS-Off Ver
    2019
    Posts
    4

    Re: Formula move cell to other cell.

    may I know what is the meaning of "15" and "6" in the formula?
    Last edited by AliGW; 01-26-2022 at 08:04 AM. Reason: PLEASE don't quote unnecessarily!

  4. #4
    Registered User
    Join Date
    01-25-2022
    Location
    Malaysia
    MS-Off Ver
    2019
    Posts
    4

    Re: Formula move cell to other cell.

    thank you for the help.

    As u can see the file attached, it can sort out until "d". After "d", the data is not showed up.
    Attached Files Attached Files
    Last edited by AliGW; 01-26-2022 at 08:05 AM. Reason: PLEASE don't quote unnecessarily!

  5. #5
    Forum Expert KOKOSEK's Avatar
    Join Date
    08-03-2018
    Location
    Pole in Yorkshire, UK
    MS-Off Ver
    365/2013
    Posts
    2,737

    Re: Formula move cell to other cell.

    Check parameters of AGGREGATE function (15 - SMALL, 6 - Ignore errors).
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    You left empty 'counter' in L1:U1, fill this up with cons. numbers and values show up.
    or if you want leave this rows empty, we can change it into:

    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Please check attached file.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    01-25-2022
    Location
    Malaysia
    MS-Off Ver
    2019
    Posts
    4

    Re: Formula move cell to other cell.

    Thank you very much bro! Its really help me to faster up my work.

  7. #7
    Forum Expert KOKOSEK's Avatar
    Join Date
    08-03-2018
    Location
    Pole in Yorkshire, UK
    MS-Off Ver
    365/2013
    Posts
    2,737

    Re: Formula move cell to other cell.

    Happy to help.
    If You are happy with solution, please use Thread tools and mark thread as SOLVED.

+ 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. Replies: 1
    Last Post: 03-03-2019, 10:38 PM
  2. Formula to move part of cell to new cell
    By forestavekids in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-04-2017, 03:44 PM
  3. Replies: 11
    Last Post: 02-02-2017, 08:05 AM
  4. [SOLVED] "button" to move curser to a specific cell based upon formula results in another cell
    By Araise in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-16-2014, 03:21 PM
  5. Replies: 2
    Last Post: 03-21-2011, 01:33 PM
  6. [SOLVED] formula, move to previous cell when the current cell=0 or empty
    By osama amer in forum Excel General
    Replies: 0
    Last Post: 05-29-2006, 07:25 AM
  7. [SOLVED] How to keep a cell ref in formula unchanged when the ref cell move
    By Clifton Ford in forum Excel General
    Replies: 2
    Last Post: 03-14-2006, 01:10 PM

Tags for this Thread

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