+ Reply to Thread
Results 1 to 4 of 4

Need help on revising this if formula

  1. #1
    Registered User
    Join Date
    03-29-2013
    Location
    nigeria
    MS-Off Ver
    Excel 2007
    Posts
    4

    Need help on revising this if formula

    I have an IF function in excel that goes like this: =IF(d5=yes,c5+$b$22,c5)

    I need the function to recognize whether or not d5 says yes or no, specifically just yes.

    If anyone could help me fix this problem, it would be much appreciated. Thanks

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,657

    Re: Need help on revising this formula

    put quotes around "yes".
    =IF(d5="yes",c5+$b$22,c5)
    Last edited by protonLeah; 03-29-2013 at 07:41 PM.
    Ben Van Johnson

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

    Re: Need help on revising this formula

    Maybe something like this :
    =IF(D5="yes",C5&$B$22,C5)

    Hope this helps

    Edit-
    or
    if C5 and B22 are numbers:
    =IF(D5="yes",C5+$B$22,C5)
    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

  4. #4
    Registered User
    Join Date
    03-29-2013
    Location
    nigeria
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Need help on revising this formula

    Thanks for the help!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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