+ Reply to Thread
Results 1 to 21 of 21

Gather unique values from one sheet but leave out values based on a value from other colum

  1. #1
    Forum Contributor
    Join Date
    07-10-2012
    Location
    United States
    MS-Off Ver
    Office 365
    Posts
    397

    Gather unique values from one sheet but leave out values based on a value from other colum

    Hello,

    In the attachment, I am looking to gather unique values from one worksheet and populate on another worksheet.

    But I am looking to leave out values "Customers" who have no value "amount" next to their name.

    I played with the unique function, but I don't think editing will work in this case.

    I then want to sum the adjacent columns for those Customers.

    I appreciate any assistance.

    Thank you,
    Nick
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,076

    Re: Gather unique values from one sheet but leave out values based on a value from other c

    How about
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    07-10-2012
    Location
    United States
    MS-Off Ver
    Office 365
    Posts
    397

    Re: Gather unique values from one sheet but leave out values based on a value from other c

    That is amazing Fluff13!

    Is it possible, without adding another column on the Data Entry sheet, to have the formula expand another column with the Paid In minus the Paid Out?

    For example, Patron #02 has $1500 - $800, column D would show $700.

    But that is amazing, thanks for your skills.

  4. #4
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,076

    Re: Gather unique values from one sheet but leave out values based on a value from other c

    How about
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    07-10-2012
    Location
    United States
    MS-Off Ver
    Office 365
    Posts
    397

    Re: Gather unique values from one sheet but leave out values based on a value from other c

    Fantastic! you are awesome.

    Thank you,

  6. #6
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,076

    Re: Gather unique values from one sheet but leave out values based on a value from other c

    You're welcome & thanks for the feedback.

  7. #7
    Forum Contributor
    Join Date
    07-10-2012
    Location
    United States
    MS-Off Ver
    Office 365
    Posts
    397

    Re: Gather unique values from one sheet but leave out values based on a value from other c

    I added a sort to this, but do you know how I can reverse sort? High to low?

    =SORT(LET(u,UNIQUE(FILTER('DATA ENTRY'!B2:B100,'DATA ENTRY'!C2:C100<>"")),in,SUMIFS('DATA ENTRY'!C:C,'DATA ENTRY'!B:B,u),out,SUMIFS('DATA ENTRY'!D:D,'DATA ENTRY'!B:B,u),CHOOSE({1,2,3,4},u,in,out,in-out)),4)

  8. #8
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,076

    Re: Gather unique values from one sheet but leave out values based on a value from other c

    Add ,-1 after the 4

  9. #9
    Forum Contributor
    Join Date
    07-10-2012
    Location
    United States
    MS-Off Ver
    Office 365
    Posts
    397

    Re: Gather unique values from one sheet but leave out values based on a value from other c

    Great, thank you.

  10. #10
    Forum Contributor
    Join Date
    07-10-2012
    Location
    United States
    MS-Off Ver
    Office 365
    Posts
    397

    Re: Gather unique values from one sheet but leave out values based on a value from other c

    Hi Fluff, I am not sure if you are still around, but I inserting a column after the customer name, and I am trying to get that to return also.

    I keep trying, but no luck.

    Attached is an example of what I am trying to do.

    If you can, I appreciate your help.

    Nick
    Attached Files Attached Files

  11. #11
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,076

    Re: Gather unique values from one sheet but leave out values based on a value from other c

    Which number should it return? eg Patron#5 is 127 & 147

  12. #12
    Forum Contributor
    Join Date
    07-10-2012
    Location
    United States
    MS-Off Ver
    Office 365
    Posts
    397

    Re: Gather unique values from one sheet but leave out values based on a value from other c

    Sorry, I just threw some numbers on there, the patrons will always have the same number.

  13. #13
    Forum Contributor
    Join Date
    07-10-2012
    Location
    United States
    MS-Off Ver
    Office 365
    Posts
    397

    Re: Gather unique values from one sheet but leave out values based on a value from other c

    I attached a corrected copy.
    Attached Files Attached Files

  14. #14
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,076

    Re: Gather unique values from one sheet but leave out values based on a value from other c

    Ok, how about
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  15. #15
    Forum Contributor
    Join Date
    07-10-2012
    Location
    United States
    MS-Off Ver
    Office 365
    Posts
    397

    Re: Gather unique values from one sheet but leave out values based on a value from other c

    Thank you Fluff, that works perfect. I learn quite a bit here, but I am always amazed with these complicate formulas you and others put together.

  16. #16
    Forum Contributor
    Join Date
    07-10-2012
    Location
    United States
    MS-Off Ver
    Office 365
    Posts
    397

    Re: Gather unique values from one sheet but leave out values based on a value from other c

    Hi Fluff, you have been so much help and may be offline for the day, but I wanted to know if this formula could only display results if the last column the difference between values is greater than 0. (in-out) is great than 0. Thank you.

  17. #17
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,076

    Re: Gather unique values from one sheet but leave out values based on a value from other c

    Are you going to make any more changes or is this the last?

  18. #18
    Forum Contributor
    Join Date
    07-10-2012
    Location
    United States
    MS-Off Ver
    Office 365
    Posts
    397

    Re: Gather unique values from one sheet but leave out values based on a value from other c

    Hi Fluff, this is the last. I input the formula from my template into my master file and this was the last update I need. Thanks

  19. #19
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,076

    Re: Gather unique values from one sheet but leave out values based on a value from other c

    How about
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  20. #20
    Forum Contributor
    Join Date
    07-10-2012
    Location
    United States
    MS-Off Ver
    Office 365
    Posts
    397

    Re: Gather unique values from one sheet but leave out values based on a value from other c

    Thank you Fluff, that worked and that is all for this project. I appreciate your help.

  21. #21
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,076

    Re: Gather unique values from one sheet but leave out values based on a value from other c

    Glad to help & thanks for the feedback

+ 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. Gather values from a sheet after pasting
    By zaibuojantis in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-28-2019, 02:04 AM
  2. automatic make a colum with unique values
    By Giro17 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 04-05-2017, 08:12 AM
  3. [SOLVED] Macro to filter column and copy rows to new sheet with loop for all unique values in colum
    By Gryphoune in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-24-2015, 09:15 AM
  4. Replies: 4
    Last Post: 04-26-2015, 12:18 PM
  5. [SOLVED] Quickest way to gather unique values in column - preferably without looping
    By JasperD in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 02-04-2015, 11:23 AM
  6. [SOLVED] Auto Fill Secondary Sheets from Master Sheet based on values in a colum
    By hfcamper in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-26-2013, 09:04 AM
  7. [SOLVED] Colum count based ón values In colum a and b
    By 2001jesper in forum Excel General
    Replies: 16
    Last Post: 11-05-2012, 03:28 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