+ Reply to Thread
Results 1 to 11 of 11

How to do a diagram

  1. #1
    Registered User
    Join Date
    04-29-2008
    Posts
    7

    How to do a diagram

    I want to do a diagram where my values is in A2, B2, C2, A3, B3, C3... How do I do?

  2. #2
    Registered User
    Join Date
    12-04-2007
    Posts
    9
    Draw your shape (e.g. A rectangle)

    Click on your shape and in the formula bar enter your formula. (e.g. =A2)


    BP

  3. #3
    Registered User
    Join Date
    04-29-2008
    Posts
    7
    I think we had an misunderstanding. Let me give you an exampel:

    I have a microsoft excel 2003 sheet where it says:

    A B C
    1 1 2 3
    2 4 5 6
    3 7 8 9


    I want do do a diagram with a straight line of the values in cell ( in the exact order ) : A1, B1, C1, A2, B2, C2, A3, B3, C3

    How?

  4. #4
    Registered User
    Join Date
    04-29-2008
    Posts
    7
    Does anybody understand me?

  5. #5
    Forum Contributor
    Join Date
    09-19-2004
    Location
    Canada
    Posts
    408
    Hi bob_hund,

    Do you mean a chart/graph?

    Gos-C
    Using Excel 2010 & Windows 10
    "It is better to be prepared for an opportunity and not have one than to have an opportunity and not be prepared."

  6. #6
    Registered User
    Join Date
    04-29-2008
    Posts
    7
    Quote Originally Posted by Gos-C
    Hi bob_hund,

    Do you mean a chart/graph?

    Gos-C
    Yes! Yes.
    sorry. I'm from Sweden.

  7. #7
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689
    You could use a formula to put the values in a single row, and then make a line graph of the result:
    Please Login or Register  to view this content.
    The formula in A6 and down is

    =INDEX($A$1:$C$3, INT((COLUMN() - 1) / 3) + 1, MOD(COLUMN() - 1, 3) + 1)
    Last edited by shg; 05-04-2008 at 03:07 PM.

  8. #8
    Registered User
    Join Date
    04-29-2008
    Posts
    7
    Quote Originally Posted by shg
    You could use a formula to put the values in a single row, and then make a line graph of the result:
    Please Login or Register  to view this content.
    The formula in A6 and down is

    =INDEX($A$1:$C$3, INT((COLUMN() - 1) / 3) + 1, MOD(COLUMN() - 1, 3) + 1)
    I can't get it to work becouse I have a swedish excel. I'm gonna try it out at my home computer tonight when I'll get home from work.

  9. #9
    Registered User
    Join Date
    04-29-2008
    Posts
    7
    Thanks for the help. It worked.

    Now I only have one problem left.
    If the cell is empty it returns 0. I want it to stay empty... How do I do it?

  10. #10
    Forum Contributor
    Join Date
    09-19-2004
    Location
    Canada
    Posts
    408
    Hi bob_hund,

    I don't know if there is a shorter formula, but I would use:

    =IF(INDEX($A$1:$C$3, INT((COLUMN() - 1) / 3) + 1, MOD(COLUMN() - 1, 3) + 1)=0,"",INDEX($A$1:$C$3, INT((COLUMN() - 1) / 3) + 1, MOD(COLUMN() - 1, 3) + 1))

    Gos-C

  11. #11
    Registered User
    Join Date
    04-29-2008
    Posts
    7
    Thank you verry much.

    I found an easier way. Replace every empty cell with an "t"...

+ 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