+ Reply to Thread
Results 1 to 22 of 22

Simple Sum,,,,please help

  1. #1
    Forum Contributor
    Join Date
    11-08-2012
    Location
    Dubai
    MS-Off Ver
    Excel For Mac V16 365
    Posts
    145

    Simple Sum,,,,please help

    Hiiii,,

    thanks for helping,

    i need to find the sum of a column with the unique values in it and avoid #n/a

    my column looks like this

    column A

    111
    222
    333
    333
    222
    111
    111
    222
    #n/a
    #n/a
    111

    so basically i need to find the sum of 111+222+333 and avoid duplicates and #n/a

    i cant remove the duplicates frm the sheet since it is linked.

    Is there any formula ?

    thanks in advance

    gokz

  2. #2
    Forum Contributor
    Join Date
    10-31-2012
    Location
    Maryland, USA
    MS-Off Ver
    Excel 2003/2007
    Posts
    145

    Re: Simple Sum,,,,please help

    In your formula in Column A use
    Please Login or Register  to view this content.
    This will eliminate the #N/A and replace it with nothing. Then you should be able to Sum everything normally.


    Simeon
    Don't forget to click the star in this post!

  3. #3
    Forum Contributor
    Join Date
    11-08-2012
    Location
    Dubai
    MS-Off Ver
    Excel For Mac V16 365
    Posts
    145

    Re: Simple Sum,,,,please help

    thanks but

    how can i use it with an array??

    i am now using the formula {=(SUM(B2:B14*(1/COUNTIF(B2:B14,B2:B14)))}

    thanks

    gokz

  4. #4
    Forum Contributor
    Join Date
    10-31-2012
    Location
    Maryland, USA
    MS-Off Ver
    Excel 2003/2007
    Posts
    145

    Re: Simple Sum,,,,please help

    Have you tried
    Please Login or Register  to view this content.
    Maybe try adding an IF statement in fromnt of the SUM. You are using Excel 2003 so the IFERROR function is not built in.

    Let me know how this works.


    Simeon
    Last edited by simeon.hruby; 11-22-2012 at 04:11 AM.

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

    Re: Simple Sum,,,,please help

    Slight change in your formula to ignore error values and Text data

    Array formula requires Ctrl+Shift+Enter
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    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

  6. #6
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: Simple Sum,,,,please help

    just to add you can also use isna

    =sum(if(ISNA(A1:A12),0,A1:A12).......based on the given solutions above
    I think people forget the word "THANK YOU!!!!" Do you still know it???

    There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "

    Regards,
    Vladimir

  7. #7
    Forum Contributor
    Join Date
    11-08-2012
    Location
    Dubai
    MS-Off Ver
    Excel For Mac V16 365
    Posts
    145

    Re: Simple Sum,,,,please help

    thank you sixth sense.

    dat works.

    just curious if u could help me with this logic


    col A col B
    121 #n/A
    123 11
    123 11
    123 11
    124 12
    124 12
    124 12
    125 12
    125 12

    how can i get uniquely from column A and get the sum of column b as #n/a+11+12+12

    hope u get it

    thanks

    gokz

  8. #8
    Forum Contributor
    Join Date
    11-08-2012
    Location
    Dubai
    MS-Off Ver
    Excel For Mac V16 365
    Posts
    145

    Re: Simple Sum,,,,please help

    @simeon @vlady

    thank you..

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

    Re: Simple Sum,,,,please help

    Could you please let me know the output of the above one because I am little bit weak in maths

  10. #10
    Forum Contributor
    Join Date
    11-08-2012
    Location
    Dubai
    MS-Off Ver
    Excel For Mac V16 365
    Posts
    145

    Re: Simple Sum,,,,please help

    sum of column B should be 35 removing all duplicates

  11. #11
    Forum Contributor
    Join Date
    11-08-2012
    Location
    Dubai
    MS-Off Ver
    Excel For Mac V16 365
    Posts
    145

    Re: Simple Sum,,,,please help

    or according to the unique values in A how can i display the corresponding values in column B?

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

    Re: Simple Sum,,,,please help

    Now it's clear

    Again Slight Change in the previous formula

    Array formula requires Ctrl+Shift+Enter
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  13. #13
    Forum Contributor
    Join Date
    11-08-2012
    Location
    Dubai
    MS-Off Ver
    Excel For Mac V16 365
    Posts
    145

    Re: Simple Sum,,,,please help

    wow..that works..

    one more question if you dont mind!!

    how can i display those unique numbers in colmn B corresponding to colmn A in a separate column C.

    Hope u get it.

    thnks

    gokz

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

    Re: Simple Sum,,,,please help

    Select cells C1 to C9 and with selection press = and paste the below formula

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Requires Ctrl+Shift+Enter.

    Change the B1:B9 to A1:A9 if you want to get the Unique Values from Column A1:A9.

  15. #15
    Forum Contributor
    Join Date
    11-08-2012
    Location
    Dubai
    MS-Off Ver
    Excel For Mac V16 365
    Posts
    145

    Re: Simple Sum,,,,please help

    can i have an excel 2003 formula....i tried if(iserror.. and if(isna...

    it returned error

    thnks


    gokz

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

    Re: Simple Sum,,,,please help

    Regret for the inconvenience, forget to notice your excel version.

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  17. #17
    Forum Contributor
    Join Date
    11-08-2012
    Location
    Dubai
    MS-Off Ver
    Excel For Mac V16 365
    Posts
    145

    Re: Simple Sum,,,,please help

    it works well without iferror...

    thanks a lot man....u r a genius in this...must say...

  18. #18
    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: Simple Sum,,,,please help

    My Congr to Sixthsense . Really nice work.

    But @ gokzee

    Your title is not says the TRUE.

    Simple Sum.....

    This is not a simple sum at all. Is it?
    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.

  19. #19
    Forum Contributor
    Join Date
    11-08-2012
    Location
    Dubai
    MS-Off Ver
    Excel For Mac V16 365
    Posts
    145

    Re: Simple Sum,,,,please help

    @fotis i knw....but its still a simpe sum and got complicated when we had to display the numbrs.

    sixth sense is a master in excel..

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

    Re: Simple Sum,,,,please help

    Quote Originally Posted by Fotis1991 View Post
    My Congr to Sixthsense . Really nice work
    Thanks Fortis

    One congrats message from the expert is equivalent to 100 OP’s thanks message, now feeling it

  21. #21
    Forum Contributor
    Join Date
    11-08-2012
    Location
    Dubai
    MS-Off Ver
    Excel For Mac V16 365
    Posts
    145

    Re: Simple Sum,,,,please help

    @sixth sense..thanks a lot..

    still a long way to go with the project

  22. #22
    Forum Contributor
    Join Date
    11-08-2012
    Location
    Dubai
    MS-Off Ver
    Excel For Mac V16 365
    Posts
    145

    Re: Simple Sum,,,,please help

    @sixth sense

    True..

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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