Closed Thread
Results 1 to 2 of 2

Copy data from Sheet b to Sheet A, based on the existing contents of Sheet A using formula

Hybrid View

  1. #1
    Registered User
    Join Date
    03-01-2022
    Location
    Indonesia
    MS-Off Ver
    Office 365
    Posts
    12

    Copy data from Sheet b to Sheet A, based on the existing contents of Sheet A using formula

    Hi,
    I have a question regarding Office Scripts in Excel Online, on how to conditionally copy data from one Sheet (Lets just Say Sheet A) to another sheet (Sheet B), if the value meets certain criteria in SheetB. For example:
    Sheet A Columns : Name (name of the person) , Age (age of the person) , Fail/Pass (value will be either fail or pass)
    Sheet B Columns: Name (name of person), Subject (Subject taken), score (value of the score of the subject)
    I would like copy the name values from Sheet B to Sheet A, if the name already exists in Sheet A AND the Fail/Pass value in sheet A for the person is also Pass. Please do note that the name on sheet B can appear more than once and I would like to copy all of the values (Therefore for example if a person named "James" match the criteria from Sheet A, and "James" appeared in Sheet B 3 times, I want to copy all 3 instances of "James" as well as the subject and Score values from Sheet B to Sheet A

    Any solutions is welcome (including formulas) or using Office Scripts, however, it must be implemented in excel online and therefore VBA/macros cannot be used.

    This post is actually a duplicate of a previous thread posted in the VBA section of the forum, however, I think it needs to be posted here to because there may be solutions of the problem just by using regular formulas.
    Awaiting your help, Thank you!
    Attached Files Attached Files

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

    Re: Copy data from Sheet b to Sheet A, based on the existing contents of Sheet A using for

    Administrative Note:

    Unfortunately, this is a duplicate thread, and you are allowed only ONE thread per issue here. There are NO exceptions to this rule.

    Please see Forum Rule #5 about thread duplication.

    I am closing this thread, but you may continue here in the original thread (which has been moved out of the VBA section): https://www.excelforum.com/excel-for...f-sheet-a.html
    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. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    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] Copy data from Sheet b to Sheet A, based on the existing contents of Sheet A
    By patrickrw99 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 03-01-2022, 04:51 AM
  2. Log Cell Changes of Existing Data in Sheet 1 and Copy Entire Row in Sheet 2
    By Malou in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-06-2022, 07:41 PM
  3. Replies: 2
    Last Post: 01-23-2016, 01:16 PM
  4. Replies: 6
    Last Post: 10-29-2014, 06:00 AM
  5. [SOLVED] Copy and paste data from sheet 2 to sheet 1 based on specific criteria on sheet 1
    By VBADUD in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-05-2012, 04:18 AM
  6. [SOLVED] Macro to Copy Data from one Sheet A to Sheet B based on value in cell on sheet A
    By scass in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-11-2012, 07:21 PM
  7. Lookup cell contents in on sheet based on a formula in second sheet
    By Michael Wright via OfficeKB.com in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-30-2005, 12:06 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