+ Reply to Thread
Results 1 to 4 of 4

conditional, variable formula

  1. #1
    Registered User
    Join Date
    12-17-2008
    Location
    wales
    Posts
    8

    conditional, variable formula

    Thanks for your help last time. What I could really do with is this:
    =IF(F4>0,F4*3.4%+0.2,"") but I need to be able to make it either 3.4% OR 3.9%. What I thought was if I use another cell, say F3 which I can leave blank or put a 1 in, and tell it if it has a 1 it is 3.9% + 0.20 or if F3 is blank then it is 3.4% + 0.20
    Sorry to be a pain but it is just beyond me, thanks in anticipation.
    Steve
    Last edited by NBVC; 12-17-2008 at 09:00 PM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Try then

    =IF(F4>0,F4*IF(F3=1,3.9%,3.4%)+0.2,"")

    or

    =IF(F4>0,F4*CHOOSE(F3+1,3.4%,3.9%)+0.2,"")
    Last edited by NBVC; 12-17-2008 at 06:50 PM.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320
    =if(and(f4>0,f3=""),f4*3.4%+0.2,if(and(f4>0,f3=1),f4*3.9%+0.2,""))

  4. #4
    Registered User
    Join Date
    12-17-2008
    Location
    wales
    Posts
    8

    Thank you so much

    It really is kind of you to give your time and expertise like this, thanks
    Steve

+ 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