+ Reply to Thread
Results 1 to 11 of 11

Calculation of Text and Numbers

  1. #1
    Forum Contributor
    Join Date
    07-22-2011
    Location
    Mumbai
    MS-Off Ver
    Excel 2007
    Posts
    185

    Calculation of Text and Numbers

    Hi,

    I have a one excel file which have six different sheets and wants total of all sheet in last Total Sheet.
    the question is:
    1. If the value is all "0" then its wants to show"Nil" value of particular period in Total Sheet.

    2. If there is "Not Insured" then in total also wants to show "Not Insured" in Paid Amount column and rest all cells will be blank.

    please help.
    Attached Files Attached Files

  2. #2
    Forum Contributor darknation144's Avatar
    Join Date
    01-24-2012
    Location
    London
    MS-Off Ver
    Microsoft Excel 365 MSO
    Posts
    555

    Re: Calculation of Text and Numbers

    For number 1 you would just do something like:

    =if((SUM(MD!C5,BI!C8,Mny!C5,Theft!C5,EL!TABLE_29,PL!F5))=0,Nil,SUM(MD!C5,BI!C8,Mny!C5,Theft!C5,EL!TABLE_29,PL!F5))
    If someone helped give them rep using the star button.

    If you have received a satisfactory solution please mark the thread solved. If not Fotis will come for you at night :P

  3. #3
    Forum Contributor
    Join Date
    07-22-2011
    Location
    Mumbai
    MS-Off Ver
    Excel 2007
    Posts
    185

    Re: Calculation of Text and Numbers

    Thank you for help by using this formula the answer is coming #NAME? where I want Nil.

    The amount will be "Nil" not a Zero value put in all six sheets.

  4. #4
    Forum Contributor darknation144's Avatar
    Join Date
    01-24-2012
    Location
    London
    MS-Off Ver
    Microsoft Excel 365 MSO
    Posts
    555

    Re: Calculation of Text and Numbers

    Sorry missed the quotes

    =if((SUM(MD!C5,BI!C8,Mny!C5,Theft!C5,EL!TABLE_29,PL!F5))=0,"Nil",SUM(MD!C5,BI!C8,Mny!C5,Theft!C5,EL!TA BLE_29,PL!F5))

  5. #5
    Forum Contributor
    Join Date
    07-22-2011
    Location
    Mumbai
    MS-Off Ver
    Excel 2007
    Posts
    185

    Re: Calculation of Text and Numbers

    By using this formula some error is coming please check attached file
    Attached Files Attached Files

  6. #6
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Calculation of Text and Numbers

    Hi

    In C8 and copy down.

    =IF((SUM(MD!C5,BI!C8,Mny!C5,Theft!C5,EL!D4,PL!F5))=0,"Nil",SUM(MD!C5,BI!C8,Mny!C5,Theft!C5,EL!D4,PL!F5))


    Change the comma to semi colons, if you have to do this.

    Is this, helps ypu?
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  7. #7
    Forum Contributor darknation144's Avatar
    Join Date
    01-24-2012
    Location
    London
    MS-Off Ver
    Microsoft Excel 365 MSO
    Posts
    555

    Re: Calculation of Text and Numbers

    Claims.xlsx

    There was just an extra (

  8. #8
    Forum Contributor
    Join Date
    07-22-2011
    Location
    Mumbai
    MS-Off Ver
    Excel 2007
    Posts
    185

    Re: Calculation of Text and Numbers

    great!!! now one more question as for the year 2010-2011 is not insured so I have type Not Insured in all Sheets and also wants in Total as Not Insured.

  9. #9
    Forum Contributor darknation144's Avatar
    Join Date
    01-24-2012
    Location
    London
    MS-Off Ver
    Microsoft Excel 365 MSO
    Posts
    555

    Re: Calculation of Text and Numbers

    well it is the same principle if(ACell="Not Insured","Not Insured","")

    Do all the tabs need to say not insured? can some say not insured and some not?

  10. #10
    Forum Contributor
    Join Date
    07-22-2011
    Location
    Mumbai
    MS-Off Ver
    Excel 2007
    Posts
    185

    Re: Calculation of Text and Numbers

    some time there will be changes in year like 2006-2007 or 2009-2010

    Should I add this condition in all formulas?

  11. #11
    Forum Contributor darknation144's Avatar
    Join Date
    01-24-2012
    Location
    London
    MS-Off Ver
    Microsoft Excel 365 MSO
    Posts
    555

    Re: Calculation of Text and Numbers

    Use And() to check all the tabs for "Not Insured" this will only return true if they all say "Not Insured". You can then specify what you want it to do if it finds a number.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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