+ Reply to Thread
Results 1 to 4 of 4

Find data from one sheet to apply in another?

  1. #1
    Registered User
    Join Date
    03-15-2016
    Location
    UK
    MS-Off Ver
    2013
    Posts
    2

    Find data from one sheet to apply in another?

    Hi,

    I am struggling to work out what type of formulae I require.

    I have a workbook with 2 sheets. 'Customers' & 'Orders'.

    'Customers' contains all customer info and 'Orders' contain all Order info.

    Each customer has a discount percentage in the 'customers' sheet but this is not shown in the 'orders' sheet. I want to input the discount percentage to the 'orders' sheet.

    The common identifier in both sheets is Column D 'acc' which is the account number.


    Column G is where the discount percentage is.

    I want to add the discount percentage to column M.


    Any help would be really appreciated.

  2. #2
    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. 2406 (Windows 11 23H2 64-bit)
    Posts
    82,484

    Re: Find data from one sheet to apply in another?

    Welcome to the forum!

    Try this on the Orders sheet:

    =INDEX(Customers!G:G,MATCH(A1,Customers!D:D,0))

    where A1 contains the customer ID on the Orders sheet.
    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.

  3. #3
    Registered User
    Join Date
    03-15-2016
    Location
    UK
    MS-Off Ver
    2013
    Posts
    2

    Re: Find data from one sheet to apply in another?

    Thank you so much this worked! It has been driving me up the wall.

    Just one additional question which has arisen now this has been fixed. I am now using a pivot table to show Customer Name, Sales Total, Discount Percentage.

    The first 2 columns work fine. But the 3rd column which is the discount percentage is adding all the percentages together. So if a customer has 10% discount and has purchased 3 times then it is showing 30.


    Again, thanks ))

  4. #4
    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. 2406 (Windows 11 23H2 64-bit)
    Posts
    82,484

    Re: Find data from one sheet to apply in another?

    This is a completely different question, but I imagine you need to set the PT up to show each customer just once. If you want further help, attach the workbook.

+ 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. Copy cell from one sheet, find coresponding date on 2nd sheet data table, paste value
    By Soccer0228 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-08-2019, 01:14 PM
  2. [SOLVED] EXCEL Find variable data from one sheet and copy entire row to another sheet
    By Crawfy in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 03-27-2017, 06:21 AM
  3. Find cell in last row that has ANY data - apply formula to this cell
    By israelmcgregor in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 02-23-2017, 04:07 AM
  4. Copy data columns from one sheet to another and apply formatting
    By jcmckeon in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-01-2017, 03:18 PM
  5. How to write macro to find certain data in master sheet and paste into another sheet?
    By travis.cook21 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-16-2015, 09:21 AM
  6. Help with Using Data on One Work Sheet to Apply to Another
    By biglou82 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-16-2014, 05:29 AM
  7. Macro to apply a filter from one sheet (a master sheet) to all sheets in workbook
    By SeaniGeld in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-30-2013, 02:00 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