+ Reply to Thread
Results 1 to 6 of 6

Check all the SUM and if the value is unique then Plot

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    02-25-2012
    Location
    Coimbatore, India
    MS-Off Ver
    Excel 2010
    Posts
    445

    Check all the SUM and if the value is unique then Plot

    Hello Friends

    Ms Excel : 2010, Please refer the attached file <Check and plot the value.xlsx>

    I want to check the all the sums and the K3 Value, if it is equal then plot the value in E4, otherwise plot as "Check"

    1) K3 value
    2) SUM(E6:E7)
    3) SUM(E9:E13)
    4) SUM(E15:E16)
    5) SUM(E18:E19)
    6) SUM(E21:E22)

    If all the values is equal i.e., K3 = SUM(E6:E7) = SUM(E9:E13) = SUM(E15:E16) = SUM(E18:E19) = SUM(E21:E22)
    then plot the value, if not then plot "Check"

    I my self return the formula using IF and AND but it is not working
    For check the formula even if i changed the value in the any (leads to sum) cell to make the unequal values and to plot `Check' still it shows value.

    I could not able to find where i made a mistake.

    thanks

    thilag
    Attached Files Attached Files

  2. #2
    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: Check all the SUM and if the value is unique then Plot

    1 way

    Formula: copy to clipboard
    =IF(AND(E6+E7=SUM(E9:E13),E6+E7=E15+E16,E6+E7=E18+E19,E6+E7=E21+E22),SUM(E6:E7),"check")
    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.

  3. #3
    Valued Forum Contributor
    Join Date
    09-07-2006
    Posts
    520

    Re: Check all the SUM and if the value is unique then Plot

    Try in E4:
    =IF(AND(SUM(E6:E7)=K3,SUM(E9:E13)=K3,SUM(E15:E16)=K3,SUM(E18:E19)=K3,SUM(E21:E22)=K3),K3,"Check")
    --------------------------------
    Any good? Yes? Hit the little star at the bottom left of my responses

  4. #4
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,655

    Re: Check all the SUM and if the value is unique then Plot

    May be this......

    K3 =IF(AND(SUM(E6:E7)=SUM(E9:E13),SUM(E9:E13)=SUM(E15:E16),SUM(E15:E16)=SUM(E18:E19),SUM(E18:E19)=SUM(E21:E22)),SUM(E6:E7),"Check")
    Sorry I completely missed the question.
    The correct one is as below......

    E4 =IF(AND(SUM(E6:E7)=K3,SUM(E9:E13)=K3,SUM(E15:E16)=K3,SUM(E18:E19)=K3,SUM(E21:E22)=K3),K3,"Check")
    Last edited by sktneer; 12-06-2013 at 04:21 AM.
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  5. #5
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: Check all the SUM and if the value is unique then Plot

    I think you have forgotten the basic rule of logical arguments, you HAVE to test EACH argument for the condition individually, UNLESS the condition itself resolves to zero/not zero, so maybe this:
    Formula: copy to clipboard
    =IF(AND(SUM(E6:E7)=K3,SUM(E9:E13)=K3,SUM(E15:E16)=K3,SUM(E18:E19)=K3,SUM(E21:E22)=K3),K3,"Check")


    Hope this helps
    A picture may be worth a thousand words, BUT, a sample Workbook is worth a thousand screenshots!
    -Add a File - click advanced (next to quick post), scroll to manage attachments, click, select add files, click select files, select file, click upload, when file shows up at bottom left, click done (bottom right), click submit
    -To mark thread Solved- go top of thread,click Thread Tools,click Mark as Solved
    If you received helpful response, please remember to hit the * of that post

  6. #6
    Forum Contributor
    Join Date
    02-25-2012
    Location
    Coimbatore, India
    MS-Off Ver
    Excel 2010
    Posts
    445

    Re: Check all the SUM and if the value is unique then Plot

    Hello All

    thanks

    Now i understood the problem in my formula.

    thanks

    thilag

+ 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. Automatically assign unique ID from other sheet and check.
    By tanpa_nama in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-18-2013, 03:02 AM
  2. Macro needed for multiple series of data to plot unique charts
    By ehelliar in forum Excel Programming / VBA / Macros
    Replies: 30
    Last Post: 04-23-2011, 11:50 AM
  3. Replies: 22
    Last Post: 10-01-2009, 07:06 AM
  4. check for duplicates, then sum unique values
    By Weissme in forum Excel General
    Replies: 0
    Last Post: 08-09-2006, 11:35 AM
  5. How do I have unique data labels for points in a XY Scatter plot?
    By heyhowzitgoin in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 01-18-2006, 11:40 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