Closed Thread
Results 1 to 11 of 11

Help Please- Copy specific cell value to another sheet if condition met

  1. #1
    Registered User
    Join Date
    05-01-2018
    Location
    Liverpool
    MS-Off Ver
    Excel 2016
    Posts
    4

    Help Please- Copy specific cell value to another sheet if condition met

    Hi,

    I'm new to the forum folks and would appreciate any help.

    I'd like to know the formula for automatically populating cell values from column A,B,C on sheet 2 if one of conditions on list from column "N" are met on the sheet 1. I've managed to sort of figure this out by using "IF" formula however sheet 2 has lots of blank rows in between where condition is not met.

    Could someone please help?

    Many thanks

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Help Please- Copy specific cell value to another sheet if condition met

    Hi, welcome to the forum

    Just so we get the terminology right, I think you want to "pull" info from 1 sheet to another. Formulas cannot do anything to any cell other than the 1 they reside in.

    I have a feeling I know what you want, but can you upload a small (clean) sample workbook (not a pic) of what you are working with, and what your expected outcome would look like?To attach a file to your post,
    click advanced (next to quick post),
    scroll down until you see "manage file",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    05-01-2018
    Location
    Liverpool
    MS-Off Ver
    Excel 2016
    Posts
    4

    Re: Help Please- Copy specific cell value to another sheet if condition met

    Hi,

    Thanks for the prompt response.

    I have uploaded the specimen tracker I'm working with as an attachment.

    I'd like to transfer the column A, B, c & F from sheet 1 to sheet 2 if column H on sheet 1 reads one of the three below
    "Accepted", "Consider", "Compare Elsewhere"

    I hope it make sense. Please let me know if you;d like more info.


    Thanks
    Attached Files Attached Files

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,704

    Re: Help Please- Copy specific cell value to another sheet if condition met

    Put this formula in cell I2 of Sheet1:

    =IF(ISNA(MATCH(H2,{"accepted","consider","compare elsewhere"},0)),"-",MAX(I$1:I1)+1)

    then copy down to the bottom of your data or beyond (to accommodate more data being added. Then, with headings in row 1 of Sheet2, put this formula in A2 of Sheet2:

    =IFERROR(INDEX(Sheet1!A:A,MATCH(ROWS($1:1),Sheet1!$I:$I,0)),"")

    Copy into B2:C2, and set the format of B2 to General. Then copy A2:C2 down as far as you need to.

    Hope this helps.

    Pete

  5. #5
    Registered User
    Join Date
    05-01-2018
    Location
    Liverpool
    MS-Off Ver
    Excel 2016
    Posts
    4

    Re: Help Please- Copy specific cell value to another sheet if condition met

    Pete you the man!!

    Thank you very much for you help worked first time. Straight forward and simple!!

  6. #6
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,704

    Re: Help Please- Copy specific cell value to another sheet if condition met

    Glad to help - thanks for the rep.

    Good luck tomorrow night (or are you from the blue half of the city?)

    Pete

  7. #7
    Registered User
    Join Date
    05-01-2018
    Location
    Liverpool
    MS-Off Ver
    Excel 2016
    Posts
    4
    Quote Originally Posted by Pete_UK View Post
    Glad to help - thanks for the rep.

    Good luck tomorrow night (or are you from the blue half of the city?)

    Pete
    RED all the way!! Can’t wait for tomorrow.

    Hopefully we could do a repeat of Istanbul! Fingers crossed

  8. #8
    Registered User
    Join Date
    03-01-2022
    Location
    Colorado
    MS-Off Ver
    2102
    Posts
    4

    Re: Help Please- Copy specific cell value to another sheet if condition met

    This was awesome!

    What if we needed a second filter in sheet 2, we wanted sheet 2 to show only rows for a specific Sheet 1 Column C name. Presumably Sheet 1 Column C would have multiple names.
    I have multiple worksheets in a workbook, each sheet would only contain the information for a specific name listed, for example, Sheet 2 Cell A1 had ABC, and sheet 3 Cell a1 had ABC1.

  9. #9
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,704

    Re: Help Please- Copy specific cell value to another sheet if condition met

    I can see from your post count that you are new to the forum, so Welcome, and please read the Forum Rules (available on the menu at the top of the screen), especially Rule 04 which concerns hijacking of someone else's thread.

    You should not do this - instead, you should start a new thread of your own, no matter how similar this thread may seem to your own problem. You can also attach a sample Excel workbook by following the guidelines given in the yellow banner at the top of the screen, and this may help to clarify what you want to achieve.

    Hope this helps.

    Pete

  10. #10
    Registered User
    Join Date
    03-01-2022
    Location
    Colorado
    MS-Off Ver
    2102
    Posts
    4

    Re: Help Please- Copy specific cell value to another sheet if condition met

    I don't see how this is hijacking. I can see you don't want people to get help.
    Good luck with promoting a site instead of solutions.

  11. #11
    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
    80,410

    Re: Help Please- Copy specific cell value to another sheet if condition met

    Thousands of people get help here every year. Our site is heavily used and those who keep coming back again and again for help do so because they know the quality of the assistance they will get AND are willing to abide by our simple rules. If you don't wish to do so (clearly not from your last post), then by all means go elsewhere.

    If you want help, then please start a new thread as requested above.
    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.

Closed Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] VBA code, cut and paste entire row into new sheet per specific condition in cell
    By Tapyr in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-07-2015, 08:53 AM
  2. [SOLVED] Copy specific cell value on sheet1 to specific cell on sheet2 or other sheet.
    By Mr.GfCs in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-20-2015, 02:41 PM
  3. Check cell value in range, depending on condition copy to another Sheet
    By KemalO in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-28-2015, 11:01 AM
  4. Auto copy specific data from sheet to antoher sheet under few condition
    By Shermaine2010 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-17-2014, 04:47 AM
  5. [SOLVED] Copy of rows from one sheet to other depend of condition in one cell
    By maksa1982 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-02-2012, 06:19 PM
  6. Copy specific range from sheet to another if condition in cell met
    By Zagadka in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 01-28-2012, 11:42 AM
  7. Copy specific columns to specific cell on new sheet
    By jones_net in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-19-2010, 02:34 AM

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