+ Reply to Thread
Results 1 to 6 of 6

Addition to an =if formula

  1. #1
    Forum Contributor
    Join Date
    12-02-2013
    Location
    Oklahoma
    MS-Off Ver
    Excel 2010
    Posts
    152

    Addition to an =if formula

    Hello again.

    Recently I had some help with this formula but I realize now that I may need to add another layer to it. Currently the formula is this:

    '=IF(P3<10,"Season",LOOKUP(P3,{10,25,50,100},{"Bronze","Silver","Gold","Platinum"}))

    Now, I would like to add something that leaves the cell blank if P3 is blank. is that possible? =iferror perhaps?

    Thanks
    Tom

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Addition to an =if formula

    Try this...

    =IF(TRIM(P3)="","",IF(P3<10,"Season",LOOKUP(P3,{10,25,50,100},{"Bronze","Silver","Gold","Platinum"})))


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Forum Contributor
    Join Date
    12-02-2013
    Location
    Oklahoma
    MS-Off Ver
    Excel 2010
    Posts
    152

    Re: Addition to an =if formula

    Thanks. That keeps the 'return' cell blank when 'P3' is blank however it returns 'Season' regardless of the number placed in P3. So, where it should be 'Platinum' if p3=100 it returns season.

    Regards
    Tom

  4. #4
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Addition to an =if formula

    It's working fine for me

    Attach a sample workbook. Make sure there is just enough data to make it clear what is needed. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are demonstrated, mock them up manually if needed. Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic

  5. #5
    Forum Contributor
    Join Date
    12-02-2013
    Location
    Oklahoma
    MS-Off Ver
    Excel 2010
    Posts
    152

    Re: Addition to an =if formula

    I apologize. I pasted the formula into the 4th row so it was trying to pull data from the 3rd row. Fixed all that and its working fine now.

    Thanks Again,
    Tom

  6. #6
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Addition to an =if formula

    Glad it helps you and thanks for the feedback

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Addition to current formula
    By alfgrey in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-26-2013, 04:03 AM
  2. An addition to an IF-formula
    By olafurbj in forum Excel General
    Replies: 7
    Last Post: 09-19-2011, 03:41 PM
  3. Addition Formula
    By NormanB in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-13-2008, 11:20 AM
  4. Formula for addition
    By inkydolphin in forum Excel General
    Replies: 2
    Last Post: 01-25-2005, 12:05 PM

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