+ Reply to Thread
Results 1 to 7 of 7

If((AND)) Formula

  1. #1
    Registered User
    Join Date
    11-26-2003
    Location
    Maryland, US
    MS-Off Ver
    2010
    Posts
    29

    If((AND)) Formula

    I am looking to add on to a working formula that will see a "Null" value as a "0".
    Currently my formula reads
    =If((AND(T3>0,T3>=C3)),"Yes","Less")

    When C3 is "blank" the result is showing "Less" when it should actually be "Yes".

    I tried to use Find&Select, Go to Special to replace "blanks"with "0" and it did not work.

    Any ideas?


  2. #2
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: If((AND)) Formula

    try this:
    =IF(AND(T3>0,T3>=VALUE(C3)),"Yes","Less")

    Hope this helps
    A picture may be worth a thousand words, BUT, a sample Workbook is worth a thousand screenshots!
    -Add a File - click advanced (next to quick post), scroll to manage attachments, click, select add files, click select files, select file, click upload, when file shows up at bottom left, click done (bottom right), click submit
    -To mark thread Solved- go top of thread,click Thread Tools,click Mark as Solved
    If you received helpful response, please remember to hit the * of that post

  3. #3
    Registered User
    Join Date
    11-26-2003
    Location
    Maryland, US
    MS-Off Ver
    2010
    Posts
    29

    Re: If((AND)) Formula

    Hi
    dredwolf

    try this:
    =IF(AND(T3>0,T3>=VALUE(C3)),"Yes","Less")

    Hope this helps


    I tried this and now I get a #Value! if T3 is 0 and C3 is blank....

  4. #4
    Forum Expert Kevin UK's Avatar
    Join Date
    12-07-2010
    Location
    Radstock, Somerset
    MS-Off Ver
    365
    Posts
    1,922

    Re: If((AND)) Formula

    Hi finlain

    How about: =IF(AND(T3>0,T3>=C3),"Yes",IF(T3="","Yes","Less"))
    Regards Kevin


    Merged Cells (They are the work of the devil!!!)

  5. #5
    Registered User
    Join Date
    11-26-2003
    Location
    Maryland, US
    MS-Off Ver
    2010
    Posts
    29

    Re: If((AND)) Formula

    Getting closer! Thank you.
    What this formula did is it gave me a "Yes" anytime that the "C" value was blank even when the "T" column showed 0.

  6. #6
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: If((AND)) Formula

    maybe..

    =IF(OR(C3="",AND(T3>0,T3>=C3)),"Yes","Less")
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  7. #7
    Registered User
    Join Date
    11-26-2003
    Location
    Maryland, US
    MS-Off Ver
    2010
    Posts
    29

    Re: If((AND)) Formula

    Thank you as always for the replies. This board is great and a lot of talent out here! I found that my first formula was fine it was a "formatting" issue on the blank cells

    Drove me nuts!

+ 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