+ Reply to Thread
Results 1 to 5 of 5

Formula Results not Going to a Chart

  1. #1
    Registered User
    Join Date
    01-27-2021
    Location
    St. Louis, Missouri, USA
    MS-Off Ver
    Professional Plus 2016
    Posts
    4

    Formula Results not Going to a Chart

    I am a novice Excel user. I have non-numeric data that I am attempting to chart. I converted the non-numeric data to numbers using a formula. However, when I attempt to use the numeric outputs, the chart recognizes the output as zero instead of the desired numbers. I am converting Y, Q, and N into 1, 2.5, and 4, respectively. I have converted the column into "number" formatting, and I have also tried "general" and "text" with the same result (the chart interprets the data as zero). I am sure I am missing something. Can anyone help?

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Formula Results not Going to a Chart

    If the cell contains text, no formatting will change that.

    I converted the non-numeric data to numbers using a formula.
    what is the formula?
    Can you share some sample data with us, please. Show us what you have, what you have tried, and what youexpect.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    01-27-2021
    Location
    St. Louis, Missouri, USA
    MS-Off Ver
    Professional Plus 2016
    Posts
    4

    Re: Formula Results not Going to a Chart

    The formula is =+IF(AND(B4=$N$3),"1",IF(AND(B4=$N$4),"2.5","4")) Cell N3 is "Y", cell N4 is "Q", and cell N5 is "N".

    The formula is providing the correct numbers in the cells. For the three cell being evaluated (B4 through B6 currently), they are all "Q", and the result is 2.5 in each of the cells with the formula. The cells with the formula are part of the data series for a line chart to graph the data. However, the chart is registering the data as "0" instead of the 2.5 that is the output for each formula.

    I would expect the 2.5 output to be reflected in the chart. I should have a line with three data points, all at 2.5. Instead, I am getting a line with three data points at 0 for this data series.

    When I simply type "2.5" in cells and use that as a data series, it works properly. I am trying to automate some of this data entry as there are hundreds of data points each month.

    I cannot provide the original workbook, as it is on a government stand alone system with sensitive data.

    I appreciate any insights you can provide.
    Last edited by jziebold; 01-28-2021 at 10:00 AM.

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

    Re: Formula Results not Going to a Chart

    if values are in " " they are text "2.5" is text 2.5 is a number
    you could confirm this by typing in a cell isnumber(your cell containing formula) and it will return false
    istext will return true

    the + after the = is also not needed

    lose the " " and see if it works, failing that attach a sample as per the instructions in the yellow banner. the key word is sample, you can create another workbook that displays the same behaviour by using the same formulas and making up the data, as long as it is the same data type. We have no context to the data or even column headings to have a clue what it means
    Last edited by davsth; 01-28-2021 at 10:04 AM.

  5. #5
    Registered User
    Join Date
    01-27-2021
    Location
    St. Louis, Missouri, USA
    MS-Off Ver
    Professional Plus 2016
    Posts
    4

    Re: Formula Results not Going to a Chart

    Removing the "" worked! Thank you so much.

    The + seems to be automatically added. When I built the formula, it was not in there. I do not know why it appears or what function it performs.

+ 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. using results of a formula in a count if when the results are a date
    By moneypennie21 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-04-2015, 10:29 AM
  2. Exam results chart
    By pjjg in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 11-26-2015, 09:54 PM
  3. [SOLVED] Chart not showing results from formula
    By hayestrent in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 06-16-2014, 12:14 PM
  4. [SOLVED] Using VLookup but results show formula instead of results...
    By excel me in forum Excel Formulas & Functions
    Replies: 19
    Last Post: 11-28-2013, 09:40 PM
  5. Replies: 14
    Last Post: 06-27-2012, 04:26 PM
  6. Copy Formula results and paste only results
    By Tom K in forum Excel General
    Replies: 1
    Last Post: 01-10-2008, 12:23 PM
  7. Chart ignoring formulas but only plotting formula results
    By JD in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 02-03-2006, 03:35 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