+ Reply to Thread
Results 1 to 5 of 5

Displaying data from two cells in another based on criteria

  1. #1
    Registered User
    Join Date
    04-24-2011
    Location
    Brisbane, QLD
    MS-Off Ver
    Excel 2002
    Posts
    25

    Displaying data from two cells in another based on criteria

    Hi,

    I have a spreadsheet full of sales and cost data for a store. What I would like to do is pull the name and the sales figure for of any item in under a particular value and display it in another table.

    For example

    IF anything in Column F is less that 50% then the item name Column C will be displayed in I6, and the Sales figure will be displayed in J6.

    I have attached a spreadsheet for example. I update the data in the worksheet monthly, so sales figures continually change, and items are added.

    Thanks for your help!
    BridgeCat
    Attached Files Attached Files
    Last edited by BridgeCat; 04-27-2011 at 05:20 AM.

  2. #2
    Forum Expert Alf's Avatar
    Join Date
    03-13-2004
    Location
    Gothenburg/Mullsjoe, Sweden
    MS-Off Ver
    Excel 2019 and not sure I like it
    Posts
    4,758

    Re: Displaying data from two cells in another based on criteria

    Perhaps like this?

    Alf
    Attached Files Attached Files
    Last edited by Alf; 04-26-2011 at 07:01 AM. Reason: Improved macro

  3. #3
    Registered User
    Join Date
    04-24-2011
    Location
    Brisbane, QLD
    MS-Off Ver
    Excel 2002
    Posts
    25

    Re: Displaying data from two cells in another based on criteria

    Thats perfect thanks! Is there any way to have the list sort in ascending order based on sales values in Column F?

  4. #4
    Forum Expert Alf's Avatar
    Join Date
    03-13-2004
    Location
    Gothenburg/Mullsjoe, Sweden
    MS-Off Ver
    Excel 2019 and not sure I like it
    Posts
    4,758

    Re: Displaying data from two cells in another based on criteria

    I assume it's list in column J you wish to sort in ascending order?

    If this clears up your problem could you please mark your tread "Solved" and if you like to give me a pat on the back click on my scale icon and give a rating to my answer.

    Alf
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    04-24-2011
    Location
    Brisbane, QLD
    MS-Off Ver
    Excel 2002
    Posts
    25

    Re: Displaying data from two cells in another based on criteria

    That is great thanks :D and a massive pat on the back, very helpful!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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