+ Reply to Thread
Results 1 to 9 of 9

Attempt to Count Unique Values, Multiplied by Quantity

  1. #1
    Registered User
    Join Date
    03-07-2024
    Location
    United States
    MS-Off Ver
    Microsfot Office 365
    Posts
    4

    Attempt to Count Unique Values, Multiplied by Quantity

    EXCEL HELP - DOOR HARDWARE SCHEDULE.xlsx

    I am attempting to count all unique values on a table (and those values are text), which is shown on tab "DOOR QUANTITY AND DESIGN". These are noted in columns V and W.

    While I would like to use a UNIQE function or a COUNTIF function, I also have to factor in the quantity of each door, noted in Column A.

    For context: the Enclosed Spreadsheet is a quantity takeoff of door hardware, so with each unique door there could be multiple different peices of hardware.

    I don't know how to condense this information to get a unique count of text displayed on the table while also multipling the overall quantity from column A.
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    02-29-2024
    Location
    EGYPT - Cairo
    MS-Off Ver
    MS365
    Posts
    88

    Re: Attempt to Count Unique Values, Multiplied by Quantity

    Quote Originally Posted by HENRYR. View Post
    which is shown on tab "DOOR QUANTITY AND DESIGN".
    Nothing titled DOOR QUANTITY AND DESIGN, do you mean the sheet UNIT DOOR COUNT TAKEOFF?

    Quote Originally Posted by HENRYR. View Post
    These are noted in columns V and W.
    Which sheet?

    Quote Originally Posted by HENRYR. View Post
    Attachment 862069

    I am attempting to count all unique values on a table (and those values are text), which is shown on tab "DOOR QUANTITY AND DESIGN". These are noted in columns V and W.

    While I would like to use a UNIQE function or a COUNTIF function, I also have to factor in the quantity of each door, noted in Column A.

    For context: the Enclosed Spreadsheet is a quantity takeoff of door hardware, so with each unique door there could be multiple different peices of hardware.

    I don't know how to condense this information to get a unique count of text displayed on the table while also multipling the overall quantity from column A.
    Please give a clear range, do you mean like the range b6:b12 in sheet UNIT DOOR COUNT TAKEOFF.
    I am afraid that I do not follow.
    Thank,
    Mohamed GadAllah

  3. #3
    Registered User
    Join Date
    03-07-2024
    Location
    United States
    MS-Off Ver
    Microsfot Office 365
    Posts
    4

    Re: Attempt to Count Unique Values, Multiplied by Quantity

    Hi Mohamed,

    I've revised the spreadsheet to simplify it to a better degree

    Before looking at the Excel Sheet, see the enclosed picture. Column A has the Quantity, but Column D (Lever) has different unique descriptions, which I color coded for red (privacy) vs. blue (passage). On this smaller example, I could hand count the blue marked up "passage" levers (98 + 26 + 81 = 205 passage levers) vs the red "privacy" levers (133 + 71 + 133 + 108 + 26 + 26 = 541 privacy levers), but I only know how to separate the tables, and don't know how to factor the quantities I compiled and plugged into Column A. There are so many different unique text cells that I would like to finalize counts as a "TOTAL" funtion of each unique text within each column.


    EXCEL HELP - DOOR HARDWARE SCHEDULE R2.xlsxEXCEL HELP - DOOR HARDWARE SCHEDULE help snapshot.png

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Attempt to Count Unique Values, Multiplied by Quantity

    There is no such thing as Excel 2020. Which Excel product are you suing (Office 365, Excel 2021, Excel 2019, etc)?
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  5. #5
    Registered User
    Join Date
    03-07-2024
    Location
    United States
    MS-Off Ver
    Microsfot Office 365
    Posts
    4

    Re: Attempt to Count Unique Values, Multiplied by Quantity

    Hi Glenn,

    It appears when I look at "Account" that it's Microsoft 365 Apps for business.

    Hope that helps!

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Attempt to Count Unique Values, Multiplied by Quantity

    Yes. Please modify your profile to show O365, and not Excel 2020.

  7. #7
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Attempt to Count Unique Values, Multiplied by Quantity

    OK. I think there is something missing from your description. You said:

    Why are these two included in the total, when they are different:

    YALE COLLECTION, VALDOSTA, NO. 21 - PRIVACY. FINISH - 625 - BRIGHT CHROME PLATED.
    and

    YALE COLLECTION, VALDOSTA, NO. 11 - PRIVACY. FINISH - 625 - BRIGHT CHROME PLATED.

  8. #8
    Registered User
    Join Date
    03-07-2024
    Location
    United States
    MS-Off Ver
    Microsfot Office 365
    Posts
    4

    Re: Attempt to Count Unique Values, Multiplied by Quantity

    Hi Glen,

    Perhaps I made a typo, but the intent would still be to identify all unique descriptions, and quantify from Column A.

  9. #9
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Attempt to Count Unique Values, Multiplied by Quantity

    Unfortunately, Excel is very unforgiving regarding typos. There are two typos in the sheet, that are messing things up.

    1. On another sheet, in an empty cell:

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


    You will note that two items are duplicated, at rows 9 & 10. I traced these down to rows 174 and 175 of your raw data. On ALL the other entries for that item it reads:

    "YALE COLLECTION, VALDOSTA, NO. 11 - PASSAGE. FINISH - 625 - BRIGHT CHROME PLATED. "

    for those two it reads:

    "YALE COLLECTION, VALDOSTA, NO. 11 - PASSAGE. FINISH - 625 - BRIGHT CHROME PLATED."

    The difference is that all the others have an unnecessary trailing space at the end.

    Three choices.

    1. Manually copy/paste to get rid of the trailing spaces (probably the best way)
    2. Use data validation to ensure consistency in the first place.
    3. A fix, but my LEAST preferred method as it papers over the cracks... amend the formula to read:

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


    One word of advice. Samples are BEST if they contain 10-20 rows MAXIMUM and you provide expected results. Your sheet was larger and the expected results were NOT reflective of the raw data... unless I completely misunderstood the question!! That is always a possibility...

+ 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] Unsuccessful formula attempt - Transpose, Unique
    By gunnerslb in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 09-28-2021, 11:26 AM
  2. [SOLVED] Looking For Way to Count Words With Unique Beginning Characters and Then Add the Quantity
    By LucasSp in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 05-26-2020, 02:16 AM
  3. Static Cost multiplied by user defined quantity
    By Mookie88 in forum Excel General
    Replies: 1
    Last Post: 10-09-2019, 02:52 PM
  4. Replies: 3
    Last Post: 11-07-2015, 12:07 PM
  5. [SOLVED] SUM cells with same content and multiplied by quantity of each
    By t.regi in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-09-2014, 01:01 AM
  6. Replies: 2
    Last Post: 02-08-2013, 04:08 PM
  7. count quantity of each unique value
    By Mungyun in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-09-2008, 12:29 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