+ Reply to Thread
Results 1 to 10 of 10

copy specific cells from sheet to another with calculation

  1. #1
    Forum Contributor
    Join Date
    06-17-2021
    Location
    Asia
    MS-Off Ver
    2019
    Posts
    229

    copy specific cells from sheet to another with calculation

    hello
    I have specific data in specific cells in sheet1 & 2. I want copy cells G4 to COL B and F3:F5 to COL C and G7 to COL D and G8 to COL E and I9 to COL F OR G based on word in F3 if f3 = unpaid then should copy I9 to COL F and if F3= paid then copy to COL G and calculate the balance in COL H
    I put two cases to show the result how should be in sheet3
    Attached Files Attached Files

  2. #2
    Forum Expert nankw83's Avatar
    Join Date
    08-31-2015
    Location
    Kuwait
    MS-Off Ver
    365
    Posts
    1,713

    Re: copy specific cells from sheet to another with calculation

    Hi tubrak,

    Try below code ...
    Please Login or Register  to view this content.
    If I was able to help, you can thank me by clicking the * Add Reputation under my user name

  3. #3
    Forum Contributor
    Join Date
    06-17-2021
    Location
    Asia
    MS-Off Ver
    2019
    Posts
    229

    Re: copy specific cells from sheet to another with calculation

    thanks
    but it just copies from sheet1 . it ignores sheet2

  4. #4
    Forum Expert nankw83's Avatar
    Join Date
    08-31-2015
    Location
    Kuwait
    MS-Off Ver
    365
    Posts
    1,713

    Re: copy specific cells from sheet to another with calculation

    I though that was illustration only ... I don't know how you'll be running the macro but if you're going to place a button in each sheet, you can utilize the same macro (chaning one line only) as per the attached file

    Please Login or Register  to view this content.
    Attached Files Attached Files

  5. #5
    Forum Guru Sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    O365 V2408
    Posts
    15,202

    Re: copy specific cells from sheet to another with calculation

    Please Login or Register  to view this content.
    Good Luck...
    I don't presume to know what I am doing, however, just like you, I too started somewhere...
    One-day, One-problem at a time!!!
    If you feel I have helped, please click on the [★ Add Reputation] to left of post window...
    Also....Add a comment if you like!!!!
    And remember...Mark Thread as Solved...
    Excel Forum Rocks!!!

  6. #6
    Forum Contributor
    Join Date
    06-17-2021
    Location
    Asia
    MS-Off Ver
    2019
    Posts
    229

    Re: copy specific cells from sheet to another with calculation

    thanks, but there is no way to make one line by make two sheets in array instead of move from sheet to another and make it active.

  7. #7
    Forum Contributor
    Join Date
    06-17-2021
    Location
    Asia
    MS-Off Ver
    2019
    Posts
    229

    Re: copy specific cells from sheet to another with calculation

    @sintek wow! exactly this what I want . if it's possible can I add the formula by your code and show as value not formula ,please?
    thanks again

  8. #8
    Forum Guru Sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    O365 V2408
    Posts
    15,202

    Re: copy specific cells from sheet to another with calculation

    Here you go...
    Attached Files Attached Files

  9. #9
    Forum Contributor
    Join Date
    06-17-2021
    Location
    Asia
    MS-Off Ver
    2019
    Posts
    229

    Re: copy specific cells from sheet to another with calculation

    @sintek brillaint ! that what I'm looking for
    thanks vey much

  10. #10
    Forum Guru Sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    O365 V2408
    Posts
    15,202

    Re: copy specific cells from sheet to another with calculation

    Glad I could help...Tx for rep +

+ 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] Copy/Paste Specific Data to Specific Cells on Another Sheet
    By catnam in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-22-2021, 11:00 PM
  2. Replies: 2
    Last Post: 06-23-2018, 06:40 PM
  3. [SOLVED] Copy data from Specific Cells on one Sheet to Specific Cells on Another Sheet
    By catnam in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-17-2018, 04:01 PM
  4. [SOLVED] Copy multiple cells from one sheet to a specific locations on other sheet
    By Milchika in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 01-07-2015, 11:40 AM
  5. Replies: 5
    Last Post: 12-12-2013, 02:53 PM
  6. Copy the data in any active row in Sheet 1 to specific cells in Sheet 6
    By cti4sw in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-04-2013, 02:43 PM
  7. HELP! Macro to Copy specific cells from one sheet to another based on specific criteria
    By atriscritti in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-11-2012, 11:05 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