Results 1 to 6 of 6

IF statements with AND and OR

Threaded View

  1. #1
    Registered User
    Join Date
    12-28-2007
    Location
    Walnut Creek, CA
    MS-Off Ver
    2003 and 2007
    Posts
    18

    IF statements with AND and OR

    Hey all-

    Usually I can figure these out on my own, but Im definitely stumped this time around. Any help would be appreciated. Here's the formula I have so far, and I'm sure I'm just missing a comma or paranthesis somewhere.


    =IF(AND((B108>0),(F108>0)),IF((C109="Color Charge"),SUM(F108:H108,F109)),IF((C110="Color Charge"),SUM(F108:H108,F110),IF((C111="Color Charge"),SUM(F108:H108,F111),SUM(F108:H108))," ")

    The AND part is is basis to make sure that I there is actually an amount to pull, so I got that part down, but some of the ads that have an amount have a color charge and that needs to be added to the amount, BUT stupid way our statements come out sometimes put the line right underneath the ad, or a line or two down. Hope people are still following this, so I added a few IF statements to check to see if the cell a line or two or three down had that description and if it does to ad the appropriate cell. If I need to add the spreadsheet, I will draft one up quickly. Let me know please! Thanks in advance!


    <edit> A note to add, if the AND part does not complete both logics, then at the end of the statement I have the " ") as for a blank, because no amount is needed then. I think I gave about all I need. Let me know!

    <edit> Last edit, scratch the OR, no need for it in this formula.
    Last edited by ReFFi; 03-14-2008 at 01:36 PM.

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