+ Reply to Thread
Results 1 to 5 of 5

Double IF Formula?

  1. #1
    Registered User
    Join Date
    04-10-2008
    Posts
    3

    Exclamation Double IF Formula?

    Hi,
    I'd like to achieve the following:

    IF COLUMN A = 37 AND COLUMN F = VD, SUM COLUMN G.

    How would i do this?

    Thanks
    Michael

  2. #2
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591
    Michael

    Something like
    =if(and(a1=37,f1="VD"),sum(g:g),0)

    However, your description is a bit vague. Do you want the sum of column A to be 37 and what is the VD that is in column F?

    Perhaps an example file to clarify the the above doesn't solve your request.

    rylo

  3. #3
    Registered User
    Join Date
    04-10-2008
    Posts
    3
    Hi,
    Please see attached.

    Sorry if i didn't make myself very clear,
    If column A says 37, and the the F column says VD, then the cost figure in column G should be added up.

    Hopefully this is more clear?

    Thanks
    Michael

    Please note that the attached example is only a small sample of the spreadsheet. There are hundreds of rows in the actual document..
    Attached Files Attached Files

  4. #4
    Forum Contributor Portuga's Avatar
    Join Date
    02-20-2004
    Location
    Portugal
    MS-Off Ver
    365
    Posts
    852
    Try:

    =SUMPRODUCT((A2:A1000="37")*(F2:F1000="VD")*G2:G1000)

    (I had "37" wrapped in inverted commas, because you have it formated as text)
    Last edited by Portuga; 04-14-2008 at 01:15 AM.
    If you found the solution to your question. Mark the thread as "Solved"
    Thank everyone that helped you with a valid solution by clicking on their

    There is no such thing as a problem, only a temporary lack of a solution

  5. #5
    Registered User
    Join Date
    04-10-2008
    Posts
    3
    That works great.
    Thanks a lot!

    Michael

+ 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