+ Reply to Thread
Results 1 to 2 of 2

Add a formula to a nested if function

  1. #1
    Registered User
    Join Date
    11-22-2016
    Location
    Oxford, England
    MS-Off Ver
    2007
    Posts
    45

    Add a formula to a nested if function

    Hello,

    I have a fairly simple spreadsheet that works out CBM on inner cartons (when we have them).

    Please see very basic attachment:
    Column A - Inner ctn Width
    Column B - Inner Ctn Depth
    Column C - Inner Ctn height
    Column D - Inner ctn Weight
    Column E - inner ctn CBM - Formula =sum(a3*b3*c3)/1000000

    I currently have an IF formula in columns B; C and D ( =if(a3="N/A","N/A","")
    For Column E, I want a similar formula, but it has calculate if Cell A3 = N/A, then show N/A; If it is blank, then show nothing, But if it has a number in it, then calculate the CBM formula shown above (=sum(a3*b3*c3)/1000000).

    This makes sense in my head, so I hope that I am making sense.

    Any help that you can give on this, is most helpful.

    THanks

    J
    Attached Files Attached Files

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,036

    Re: Add a formula to a nested if function

    In E3, copied down:

    =IFERROR(SUM(A3*B3*C3)/1000000,"")

    SUM is not needed, either, so:

    =IFERROR((A3*B3*C3)/1000000,"")
    Last edited by Glenn Kennedy; 08-13-2018 at 08:09 AM.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

+ 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] Nested If Formula with Match Function
    By CorvusReed in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-01-2015, 06:49 PM
  2. [SOLVED] Nested?, Countif function or sumproduct formula, please need a tip
    By david gonzalez in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 05-23-2014, 11:44 PM
  3. Nested IF function causing formula overflow
    By Vicius in forum Excel Formulas & Functions
    Replies: 51
    Last Post: 01-15-2013, 03:11 AM
  4. Nested formula in IF Function
    By Shaun Gemiver in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-18-2012, 10:10 AM
  5. [SOLVED] Need help with revising nested formula IF function.
    By digibay in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-27-2012, 02:31 PM
  6. Nested IF function, can't figure out the formula
    By gibby82 in forum Excel General
    Replies: 2
    Last Post: 02-01-2012, 01:35 PM
  7. [SOLVED] Help: Nested If/And Function formula to VB code
    By RAP in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-09-2005, 01:05 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