+ Reply to Thread
Results 1 to 2 of 2

IF and THEN formula's

  1. #1
    Registered User
    Join Date
    03-26-2009
    Location
    St. Louis
    MS-Off Ver
    Excel 2003
    Posts
    1

    IF and THEN formula's

    I'm working on an inventory spreadsheet that uses if and than statements.

    This is a list of printers in my company...what i'm trying to do is make is so if the cell is equal to the model number of a specific printer than it adds "1" to the totals. So instead of having to go through and count how many of each model we have, i can just input the model numbers in the "models' column and it'll add up for me.

    I've worked on this for hours but can't get it right. Can someone please nudge me in the right direction?

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: noobie question...IF and THAN formula's

    Perhaps you mean to utilise the COUNTIF function - see XL Help to see if this fits your requirement... eg - assume Printer codes are listed in A and in B1 you enter a particular printer code, you can get the count of how many times that cod appears in Column A in C1 using:

    =COUNTIF(A:A,B1)

+ 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