+ Reply to Thread
Results 1 to 3 of 3

Simplify IF formula

  1. #1
    Forum Contributor
    Join Date
    08-04-2013
    Location
    Bucharest
    MS-Off Ver
    Office Professional Plus 2019
    Posts
    304

    Simplify IF formula

    I want to know if there is a way to do all the calculation in one cell (one formula), as in SUM everything up and give the result.

    =IF(AND(L2<>"",F2="Hard",(LEFT(L2,1)>RIGHT(L2,1))),10,IF(AND(L2<>"",F2="Hard"),-10/(I2-1),""))


    In other words, apply this formula every time the criteria are met and then SUM everything up, all in one cell. I think it can be done but if it's too complicated then nevermind, I'm just trying to save some space and make the worksheet a bit faster.
    Thanks!
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: Simplify IF formula

    =SUM(IF(L2:L200="",0,1)*IF(F2:F200="Hard",1,0)*IF(LEFT(L2:L200,1)>RIGHT(L2:L200,1),10,-10/(I2:I200-1)))

    as an array formula (confirm with ctrl+shift+enter)

  3. #3
    Forum Contributor
    Join Date
    08-04-2013
    Location
    Bucharest
    MS-Off Ver
    Office Professional Plus 2019
    Posts
    304

    Re: Simplify IF formula

    Brilliant, thanks. I should have known this by now....

+ 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. simplify formula
    By midwest trader in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-28-2014, 12:53 PM
  2. Simplify formula
    By BRISBANEBOB in forum Excel General
    Replies: 6
    Last Post: 11-28-2010, 06:35 PM
  3. Simplify formula
    By ShockG in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-01-2008, 09:21 AM
  4. simplify this formula
    By Dave F in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-07-2006, 05:40 PM
  5. Simplify formula
    By Luke in forum Excel Formulas & Functions
    Replies: 38
    Last Post: 05-06-2005, 03:06 AM

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