+ Reply to Thread
Results 1 to 5 of 5

How do you copy data from one cell to another if a different cell has a specific value.

  1. #1
    Registered User
    Join Date
    01-03-2018
    Location
    wisconsin,usa
    MS-Off Ver
    office 365
    Posts
    5

    How do you copy data from one cell to another if a different cell has a specific value.

    Hello! I need help copying data from one cell to another on a different sheet. If cell E2 on Jan equals 101 then copy data from cell B2 on Jan to cell C3 on Sheet1.

    I hope that is clear enough. Any help is very much appreciated.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    10-15-2018
    Location
    MA, USA
    MS-Off Ver
    2010, 2019
    Posts
    1,616

    Re: How do you copy data from one cell to another if a different cell has a specific value

    I'm assuming that you are not restricting this to January but wish the formula to work for all months. If that's the case then to make things much easier the month names in Sheet1 row 1 should match the worksheet names.

    I'm guessing that if there are multiple entries with the same account number in Jan then you are looking for the sum of those entries on Sheet1.

    I also notice that you can have multiple rows on Sheet1 with the same account number (at least for account 131). Will Sheet1 col-B entries always exactly match Jan col-D entries? I have assumed so. If not then I see no way to apportion account 131 expenses between "Insurance" and "Property taxes".

    On sheet1 in cell C3 copied down and across to N23:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    See the attached update to your workbook (I added a few extra test cases)

    Hopefully this works for you. Let us know.
    Attached Files Attached Files
    Geoff

    Did I help significantly? If you wish, click on * Add Reputation to say thanks.
    If your problem has been resolved please select ?Solved? from the Thread Tools menu

  3. #3
    Registered User
    Join Date
    01-03-2018
    Location
    wisconsin,usa
    MS-Off Ver
    office 365
    Posts
    5

    Re: How do you copy data from one cell to another if a different cell has a specific value

    Thank you! I got it to work with a little modification. Works perfect! The only other question I have is there a way to sum up the cells in the columns in sheet1. I'm assuming its not looking at the data as numbers you can sum up. Any suggestions?

    Thanks for all you help. It's amazing to have a group of people like everyone on here that's willing to be so helpful.

  4. #4
    Forum Expert
    Join Date
    06-05-2017
    Location
    Brazil
    MS-Off Ver
    Microsoft 365
    Posts
    1,248

    Re: How do you copy data from one cell to another if a different cell has a specific value

    In your original file, paste in C3 and copy across and down:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Good luck!
    Attached Files Attached Files
    Last edited by Estevaoba; 10-27-2020 at 12:40 PM.

  5. #5
    Forum Expert
    Join Date
    10-15-2018
    Location
    MA, USA
    MS-Off Ver
    2010, 2019
    Posts
    1,616

    Re: How do you copy data from one cell to another if a different cell has a specific value

    Quote Originally Posted by ryanbodi View Post
    The only other question I have is there a way to sum up the cells in the columns in sheet1. I'm assuming its not looking at the data as numbers you can sum up. Any suggestions?
    Thanks for the feedback, but I'm not certain what the problem is. I added, as an example, to Sheet1 cell C24:
    =SUM(C19:C23)
    Which (with my Jan data) gives $505 total for Fixed Expenses.

    If I'm misunderstanding and you still have an issue, then please attach an updated workbook that shows the problem.

+ 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] How to copy specific cell data from different excel tab into one master tab
    By sudheernair in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 07-29-2018, 11:31 AM
  2. [SOLVED] How to copy Specific Column data to specific Cell .
    By drp99246 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 08-18-2017, 10:22 AM
  3. [SOLVED] Copy only filtered data on each cell and paste on specific cell in another sheet
    By impresxy in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 01-16-2017, 05:33 AM
  4. [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
  5. Copy data from specific Cell into new file
    By waqarqrl in forum Excel General
    Replies: 6
    Last Post: 04-15-2015, 05:13 AM
  6. copy a cell multiple times depending on cell value starting on a specific cell
    By weritadiojomiel in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-17-2013, 05:25 AM
  7. Replies: 0
    Last Post: 11-06-2012, 06:44 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