+ Reply to Thread
Results 1 to 2 of 2

Nested IF AND formula

  1. #1
    Registered User
    Join Date
    02-09-2009
    Location
    Upstate New York
    MS-Off Ver
    Excel 2003
    Posts
    18

    Nested IF AND formula

    Cannot figure out how to combine two if statements.

    Worksheet 1 has detail data:

    x=Name
    y=Category
    z=Total

    In Worksheet 2 I want to summarize:

    If(x=name)
    and
    If(y=category)
    give me
    z(total)

    =IF(($b$5=range),IF($a4=range),range))

  2. #2
    Forum Expert Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007, 2010
    Posts
    3,978

    Re: Nested IF AND formula

    Adjust ranges to suit

    =SUMPRODUCT(--(Sheet1!$A$1:$A$10="Name"),--(Sheet1!$B$1:$B$10="Category")*(Sheet1!$C$1:$C$10))
    Palmetto

    Do you know . . . ?

    You can leave feedback and add to the reputation of all who contributed a helpful response to your solution by clicking the star icon located at the left in one of their post in this thread.

+ 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