+ Reply to Thread
Results 1 to 3 of 3

IF statement to evaluate multiple cells

  1. #1
    Registered User
    Join Date
    09-21-2006
    Location
    Dallas, Texas
    MS-Off Ver
    Office 365 Subscription
    Posts
    56

    IF statement to evaluate multiple cells

    I have a ss that has item descriptions, quantities and pricing.

    Item descriptions are identified by a letter (a, b, c, etc) and in cells C20:c32. These are selected by drop down box. Item quantities are in cells E20:E32.

    I want to evaluate cells C20:C32 and determine what letter is chosen. If A is selected in any cell C20:c32 I want to count the quantities for A in cells E20:E32. I can't quite figure out how to do this. Any help would be appreciated.

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,578

    Re: IF statement to evaluate multiple cells

    =SUMIF($C$20:$C$32,"a", $E$20:$E$32)
    Is that what you needed?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    09-21-2006
    Location
    Dallas, Texas
    MS-Off Ver
    Office 365 Subscription
    Posts
    56

    Re: IF statement to evaluate multiple cells

    That's it. Thanks...

+ 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. If statement to evaluate the next record...
    By nessabell3 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-19-2013, 03:12 AM
  2. [SOLVED] How to use an IF statement to evaluate two different cells with a number and a date
    By scsuflyboy in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-10-2012, 11:11 PM
  3. Why does range evaluate to nothing following set statement
    By welchs101 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-07-2011, 11:06 AM
  4. Why does range evaluate to nothing following set statement
    By welchs101 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-07-2011, 07:43 AM
  5. Evaluate:IF statement
    By billansley in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-14-2005, 02:05 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