+ Reply to Thread
Results 1 to 16 of 16

Criteria, Help please -LAPTOP WORKSTATIONS

  1. #1
    Registered User
    Join Date
    04-24-2013
    Location
    Cola SC
    MS-Off Ver
    Excel 2010
    Posts
    73

    Question Criteria, Help please -LAPTOP WORKSTATIONS

    Good morning fine people!
    I have this sheet - list thousands assets. Laptops copiers faxes workstations printers in column E. Column G list Hard drives for the LAPTOPS AND WORKSTATIONS.
    Col I list the status.

    Now - I need to use the Countif formula to caluate the BLANKS found in Col G (Hard drives) HOWEVER,I need to be careful - for i need to eliminate within the status col Disposed of (i dont want that counted) and i dont want to count the copiers and faxes printers,

    I know my number is 82. However, because the formula is counting printers - faxes and disposed of it is coming up with a 1264 number. which is way off.

    how do i elmininate these ..

    i tried with =countif(gxxx:gxxx,"")-countif(ixxx:ixxx,"diposed of") - but that is as far as i was able to get - 1264. I dont know how to take out those copiers and faxes and such.

    Any help from Excel experts?

    I will be forever grateful

    Sincerely
    HollyNoel

  2. #2
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,471

    Re: Criteria, Help please -LAPTOP WORKSTATIONS

    It is hard to give help without a sample worksheet, anyway try:
    =countif(gxxx:gxxx," ") -countif(ixxx:ixxx,"diposed of")
    Quang PT

  3. #3
    Registered User
    Join Date
    04-24-2013
    Location
    Cola SC
    MS-Off Ver
    Excel 2010
    Posts
    73

    Re: Criteria, Help please -LAPTOP WORKSTATIONS

    Thank you for replying so quickly.
    Okay
    Attached is a "dummy" sample

    You will see in column a "class"
    a list
    Workstation, Copier, Laptop, Fax, Printer, Other Printer, Multi-Function Device, Workstation

    Col B is the serial number
    C is hard drive D is the status of these assets

    I need to count only the blanks of column C that pertain to Workstations and Laptops ONLY - and not include Disposed Of status in the process

    So i have 2 hurdles.
    Take out the
    1) Copier,Fax, Printer, Other Printer, Multi-Function Device
    2) Disposed Of
    in the formula

    Make sense?

    HollyNoelsample1.xlsx

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,942

    Re: Criteria, Help please -LAPTOP WORKSTATIONS

    Try this...
    =COUNTIFS($A$2:$A$57,{"workstation","laptop"},$C$2:$C$57,"<>",$D$2:$D$57,"<>disposed of")
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  5. #5
    Registered User
    Join Date
    04-24-2013
    Location
    Cola SC
    MS-Off Ver
    Excel 2010
    Posts
    73

    Re: Criteria, Help please -LAPTOP WORKSTATIONS

    Hey there Ford,
    Thank you for the quick response again, so helpful.

    It seems to still count the other assets (fax, copiers, etc)
    Is there a ignore hidden formula?

  6. #6
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Criteria, Help please -LAPTOP WORKSTATIONS

    =SUM(COUNTIFS(A2:A57, {"Workstation","Laptop"}, C2:C57, "", D2:D57,"<>Disposed Of"))

    Returns 9, which you can verify by autofiltering.
    Entia non sunt multiplicanda sine necessitate

  7. #7
    Registered User
    Join Date
    04-24-2013
    Location
    Cola SC
    MS-Off Ver
    Excel 2010
    Posts
    73

    Re: Criteria, Help please -LAPTOP WORKSTATIONS

    Shg, That didnt help either.
    It didnt even take at all actually.
    I need this to count w/o having to filter... for this is being distributed company wide. the numbers need to be inputted and seen as is with out any adjustments made.

    I am a "beginner" to Excel which i understand can be trying to experts i am sure when lending a hand so i thank you for your help and apologize in advance for my ignorance.

    Hollynoel

  8. #8
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Criteria, Help please -LAPTOP WORKSTATIONS

    There is no need to filter -- it's just a simple way to verify that the answer the formula returns is correct.

    A
    B
    C
    D
    E
    F
    G
    1
    Class
    Serial Number
    HD Serial Number
    Status
    9
    F1: =SUM(COUNTIFS(A2:A57, {"Workstation","Laptop"}, C2:C57, "", D2:D57,"<>Disposed Of"))
    2
    Workstation 15JK35919 ABCD Disposed Of
    3
    Copier 573BE13903 Active
    4
    Workstation 57BE08053 Active
    5
    Copier 57BE09245 Active
    6
    Workstation 57BE11405 ABCD Active
    7
    Copier 57BE13004 Active
    8
    Copier 57BE13903 Active
    9
    Copier 57BE17936 Active
    10
    Copier 57BE18873 Active
    11
    Copier 57BE30024 Active
    12
    Workstation 57BE30108 ABCD Active
    13
    Copier 57BE31031 Active
    14
    Copier 57BE33126 Disposed Of

  9. #9
    Registered User
    Join Date
    04-24-2013
    Location
    Cola SC
    MS-Off Ver
    Excel 2010
    Posts
    73

    Re: Criteria, Help please -LAPTOP WORKSTATIONS

    ah.. OK.. Problem though.. when i enter your formula into my sheet i am working on.. it doesnt budge. nothing happens.
    it works on the sample just fine.
    when i work w my actual sheet of 5923.... nothing.

  10. #10
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Criteria, Help please -LAPTOP WORKSTATIONS

    Then post that.

  11. #11
    Registered User
    Join Date
    04-24-2013
    Location
    Cola SC
    MS-Off Ver
    Excel 2010
    Posts
    73

    Re: Criteria, Help please -LAPTOP WORKSTATIONS

    yay!! WORKED!

  12. #12
    Registered User
    Join Date
    04-24-2013
    Location
    Cola SC
    MS-Off Ver
    Excel 2010
    Posts
    73

    Re: Criteria, Help please -LAPTOP WORKSTATIONS

    I re-entered the formula - and it worked. MATCHED my number... super stoked! Thank you!

    Thank you!

  13. #13
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Criteria, Help please -LAPTOP WORKSTATIONS

    Yer welcome.

    Be a little cautious -- any spurious characters (typos, spaces where they don't belong) will give incorrect results. Lists like this should have data validation, so you have to select valid entries from a drop-down.
    Last edited by shg; 02-19-2014 at 02:17 PM.

  14. #14
    Registered User
    Join Date
    04-24-2013
    Location
    Cola SC
    MS-Off Ver
    Excel 2010
    Posts
    73

    Re: Criteria, Help please -LAPTOP WORKSTATIONS

    I moved the status column to the end of my report .. and made it work that way.,
    awesome.
    Love this learning stuff.

    have a great day to both of you that helped!

  15. #15
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,942

    Re: Criteria, Help please -LAPTOP WORKSTATIONS

    I just tried it and it worked fine (I left off the sum)

    OK this was waaayyyyy late lol, sorry)
    Last edited by FDibbins; 02-19-2014 at 04:40 PM.

  16. #16
    Registered User
    Join Date
    04-24-2013
    Location
    Cola SC
    MS-Off Ver
    Excel 2010
    Posts
    73

    Re: Criteria, Help please -LAPTOP WORKSTATIONS

    Ha! It's okay!

    Thank you!! "

    Have a great evening...

+ 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. Laptop Charging
    By Lennnny in forum The Water Cooler
    Replies: 3
    Last Post: 01-06-2014, 04:12 PM
  2. Move Office 365 from Old Laptop to New laptop
    By claudiahacks in forum Office 365
    Replies: 0
    Last Post: 09-09-2013, 04:33 AM
  3. Search / detect workstations and retrieve a non Excel file from PCs to Server.
    By chebetoperez in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-30-2012, 12:57 PM
  4. working spreadsheet from several workstations
    By tedbo in forum Excel General
    Replies: 1
    Last Post: 02-05-2006, 03:40 PM
  5. Excel Moving sheet between workbooks takes forever on some workstations
    By John M. Mach, MOUS Master, MCSC in forum Excel General
    Replies: 5
    Last Post: 11-18-2005, 12:15 AM

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