+ Reply to Thread
Results 1 to 6 of 6

Excel formula skip blanks with multiple conditions.

  1. #1
    Forum Contributor
    Join Date
    09-13-2013
    Location
    Saudi Arabia
    MS-Off Ver
    2010, 2013
    Posts
    192

    Excel formula skip blanks with multiple conditions.

    Hello Again,

    I am looking for a help for single line formula with multiple conditions as mentioned below.

    - The formula look for nonblank cell values in columns G, H & I and apply calculation
    - After above validation the formula look for small value if multiple cell are non-blanks found.

    Kindly note that the attached is a sample only the original data is huge with 6-9 hundred thousands.

    Copy of sample report is attached.
    Attached Files Attached Files

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,704

    Re: Excel formula skip blanks with multiple conditions.

    Do you really want a formula for 900,000 records?

    Pete

  3. #3
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Excel formula skip blanks with multiple conditions.

    Maybe try this at J2

    =F2*(1-MIN(G2:I2))
    or
    =F2*(1-IFERROR(1/(1/MIN(G2:H2)),12%))

  4. #4
    Forum Contributor
    Join Date
    09-13-2013
    Location
    Saudi Arabia
    MS-Off Ver
    2010, 2013
    Posts
    192

    Re: Excel formula skip blanks with multiple conditions.

    Thank you for your response on my above request.

    I have a question.

    Actual calculation is 94.78 - (94.78 * 12.00%) = 83.4064 and toe formula is =F11-(F11*I11)

    Now your first formula =F11*(1-IFERROR(1/(1/MIN(G11:H11)),12%)) it is giving result 81.5108 which is wrong.

    And your second formula which is =F11*(1-MIN(G11:I11)) it is giving correct result which is 83.4064

    So can you explain what is the difference between these 2 formulas which is giving 2 different results.

    just to learn and not bother to you again if their is any changes in the data.

    Thank you once again.

  5. #5
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Excel formula skip blanks with multiple conditions.

    =F11*(1-IFERROR(1/(1/MIN(G11:H11)),12%))
    Find minimum from G11:H11,
    if no value in G11:H11 get 0 =IFERROR(1/(1/MIN(G11:H11)),12%) =IFERROR(1/(1/MIN(0)),12%) = 12%
    use minimum from G11:H11 or 12% if G11:H11 are blank

    =F11*(1-MIN(G11:I11)) =MIN(G11:I11) find minimum from G11:I11 and use that value

  6. #6
    Forum Contributor
    Join Date
    09-13-2013
    Location
    Saudi Arabia
    MS-Off Ver
    2010, 2013
    Posts
    192

    Re: Excel formula skip blanks with multiple conditions.

    Thanks for your explanation. It really help to understand the formula.

+ 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. Copy Multiple Skip Blanks
    By coolzero in forum Excel General
    Replies: 3
    Last Post: 12-01-2015, 11:51 PM
  2. Replies: 6
    Last Post: 06-17-2014, 09:19 AM
  3. Sort multiple columns to one column, skip blanks
    By AlexCoyne in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 05-20-2013, 03:13 PM
  4. drag formula and skip blanks rows
    By patsureway in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-14-2008, 09:41 PM
  5. RE: paste formula and skip blanks
    By Sean in forum Excel General
    Replies: 4
    Last Post: 04-06-2006, 02:10 PM
  6. Skip multiple blanks
    By Pat in forum Excel General
    Replies: 1
    Last Post: 02-05-2005, 05:06 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