+ Reply to Thread
Results 1 to 5 of 5

How to Generate a Graph in Excel

Hybrid View

  1. #1
    Registered User
    Join Date
    07-29-2018
    Location
    Australia
    MS-Off Ver
    Microsoft Office 365
    Posts
    2

    How to Generate a Graph in Excel

    Hello,
    I have a excel document which generates an answer in one cell depending on the value in another cell. I would like to make a graph showing how the answer changes as the value in the cell changes, however I have no idea how to do this as my spreadsheet only shows one answer at a time. How do I fix this?

    Thanks,

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    81,813

    Re: How to Generate a Graph in Excel

    You would need to set up a table showing values in one column and answers in the other and base the graph on that. Excel can only graph what is there on the sheet.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    07-29-2018
    Location
    Australia
    MS-Off Ver
    Microsoft Office 365
    Posts
    2

    Re: How to Generate a Graph in Excel

    Is there a way to generate a table such as that without having to manually copy and paste the answer every time I change the value in the other cell?

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    81,813

    Re: How to Generate a Graph in Excel

    There may be using VBA - shall I move your thread to that section?

  5. #5
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,892

    Re: How to Generate a Graph in Excel

    Can you explain in more detail exactly what is going on here? I don't understand why you are limited to only two cells for this calculation and chart.

    One of the most basic "mechanics" of using a spreadsheet is the idea of copying and pasting and entering inputs into multiple cells. The way I envision doing something like this is
    1) Enter the inputs into a column (not a single cell).
    2) Enter the formula in the first cell (pay attention to relative and absolute references https://support.office.com/en-us/art...e-b50a667eb491 to make copying easier), then copy paste the formula into the column adjacent to the inputs entered in step 1.
    3) Build chart from table.

    But that obviously uses more than two cells. What is going on in your spreadsheet that it is limited to two cells?
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

+ 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. Generate graph based on certain cells
    By kar_coepm in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-02-2013, 05:13 AM
  2. i need to generate graph from the combobox
    By ginger426 in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 08-11-2013, 05:36 AM
  3. Use Information between two columns in Excel and generate graph
    By peels2141 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-05-2013, 09:32 AM
  4. Use Information between two columns in Excel and generate graph
    By peels2141 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-05-2013, 04:30 AM
  5. [SOLVED] Generate the column of values and plot graph of y=cos(x)-x/2 using VBA
    By jdonprowl in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-30-2013, 02:37 PM
  6. Dynamically Generate graph in an excel file from a .csv file [URGENT]
    By pushkarjajoria in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-14-2013, 06:51 AM
  7. Generate graph of weekly data
    By sanlen in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 08-07-2010, 05:21 PM
  8. Generate Graph Automatically
    By IrfanB in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-28-2007, 04:16 PM

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