+ Reply to Thread
Results 1 to 11 of 11

Sum x & y axis values

  1. #1
    Registered User
    Join Date
    11-03-2020
    Location
    Belgium
    MS-Off Ver
    365
    Posts
    5

    Question Sum x & y axis values

    Hello,

    Is there any formula that could help me automatically sum y and x values and then return values in white? In a result I need two seperate columns.
    Thank you.
    Attached Files Attached Files
    Last edited by gduobaite; 11-03-2020 at 11:13 AM.

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,446

    Re: Sum x & y axis values

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however it has been brought to our attention that the same query has been posted on one or more other forums and you have not provided the required cross-post link(s) here.

    Please see Forum Rule #3 about cross-posting and adjust accordingly. Read this to understand why we (and other sites like us) consider this to be important.

    As you are new here I will add it for you. Please read forum rules
    https://www.mrexcel.com/board/thread...alues.1150136/

  3. #3
    Registered User
    Join Date
    11-03-2020
    Location
    Belgium
    MS-Off Ver
    365
    Posts
    5

    Re: Sum x & y axis values

    Thank you!
    I will be more careful next time..

  4. #4
    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: Sum x & y axis values

    A picture is worth 1000 words, a sample sheet is worth 1000 pictures!!

    You have attached a non-editable picture of an Excel sheet. That's not very easy to work with. Also... I'm lazy. I have to re-type your information before I can begin to address your problem. That puts me off completely.

    So.... Do yourself a favour and please attach a SMALL sample Excel workbook (10-20 rows of data is usually enough). However, please give us an indication of the approximate number of rows of data you want the solution to work with (100, 1000, 100,000 or whatever).

    Unfortunately the attachment icon doesn't work at the moment. So,... instead click on Go Advanced (below the Edit Window) while composing your reply, then scroll down to and click on Manage Attachments and the Upload window will open. Click on Browse and navigate to (and double-click) the file icon that you want to attach, then click on Upload and then on Close this Window to return to the Edit window. When you have finished composing your post, click on Submit Post.

    Make sure confidential information is removed first!!!!
    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

  5. #5
    Registered User
    Join Date
    11-03-2020
    Location
    Belgium
    MS-Off Ver
    365
    Posts
    5

    Re: Sum x & y axis values

    Sorry sorry sorry...
    Now I added small workbook into my primary message.
    "However, please give us an indication of the approximate number of rows of data you want the solution to work with (100, 1000, 100,000 or whatever)." – In all, there would be ~40 rows.

  6. #6
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,212

    Re: Sum x & y axis values

    =index($c$3:$k$5,match(left(m2,3)*1,$b$3:$b$5,0),match(("0.0"&right(m2))*1,$c$2:$k$2,0))

  7. #7
    Registered User
    Join Date
    11-03-2020
    Location
    Belgium
    MS-Off Ver
    365
    Posts
    5

    Re: Sum x & y axis values

    I don't get LEFT(M2,3) part. You choose M2, but originally I don't have such table, only the B2;K5.

  8. #8
    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: Sum x & y axis values

    Is there a reason why there is no 0.100 in column M??

  9. #9
    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: Sum x & y axis values

    Assuming it's a goof-up...

    M2:
    =IFERROR(INDEX($C$2:$K$2,,1+MOD((ROWS($1:1)-1),9))+INDEX($B$3:$B$5,1+INT((ROWS($1:1)-1)/9)),"")

    N2:
    =IF(M2="","",INDEX($C$3:$K$5,1+INT((ROWS($1:1)-1)/9),1+MOD((ROWS($1:1)-1),9)))

    both copied down.
    Attached Files Attached Files

  10. #10
    Registered User
    Join Date
    11-03-2020
    Location
    Belgium
    MS-Off Ver
    365
    Posts
    5

    Re: Sum x & y axis values

    Yes, it is perfect.
    But now I face the issues that I have additional 0,9 column and then its stopped to calculate. I tried to make a change in formula to adapt, but without success.
    Attached Files Attached Files

  11. #11
    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: Sum x & y axis values

    adjust the ranges of the formula to coer your dataset and adjust the 2 9s in each formula to 10s (as there are now 10 columns to transpose).

    See sheet.
    Attached Files Attached Files

+ 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] create x-axis and a y-axis chart as an image horizontal and vertical values
    By Khaldon in forum Excel Charting & Pivots
    Replies: 9
    Last Post: 10-11-2018, 09:12 AM
  2. Replies: 2
    Last Post: 12-16-2015, 06:25 AM
  3. Replies: 9
    Last Post: 09-22-2015, 02:43 AM
  4. Replies: 4
    Last Post: 07-31-2015, 12:54 AM
  5. Replies: 2
    Last Post: 03-17-2014, 07:58 AM
  6. Replies: 8
    Last Post: 02-12-2009, 10:12 AM
  7. [SOLVED] How to insert X axis scale values next to axis and X axis grid lin
    By vp23larry in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 06-23-2005, 11: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