Possible to use formulas in chart series data?

Hello, I need to build chart series from manual values. This is possible but Excel accepts only raw values. When I try to use a calculated value, excel rejects the series format.
=SERIES("Supply";(Sheet1!$A$97;Sheet1!$H$47);(Sheet3!$B$10;Sheet3!$B$10);4)
is accepted. I need to adjust it to something like
=SERIES("Supply";(DATEVALUE("31.12.2014");MAX(Sheet1!A:A;Sheet1!H:H));(Sheet3!$B$10/365;Sheet3!$B$10/365);4)
this however doesn't fit. Does Excel provide a format for inline evaluating without need to use auxiliary cells?

It is not possible to evaluate formulas within a Series formula. You can use Names to calculate individual values from formulas, return an array of values or use a dynamic Name to return an array of cells and use Names in Series formulas.
However for your purposes I don't think even use of Names would help; from your first example your formulas return multiple cell areas (albeit only one cell in each area) and your second example aims to return an array with each formulas calculating each
element, you'd need a Name of Names which I don't think would work.
Even if you could do it the way you want I think it would be a bad approach. Why not make use of cells, there's no shortage of them and it would make things much easier for maintenance.
 

Similar Messages

  • Using formulas in combination with dates

    I'm a salesman and I track my daily sales on numbers. I have 5 columns: date, sales number, sales amount, then other stuff. I need a formula to track on the sales for a certain 2 weeks pay period for another table. I need one that sums the total $ amount of the sales and one that just counts the number of sales. Any help would be greatly appreciated.
    Thanks

    to get the count, I had to use the countif and the concatenate command together.
    If my compare date was in A1 and my information was in Table 2.. Column A was dates and B was Dollars.. modify to fit your final data, it would look like this:
    =countif(Table 2::A,concatenate(">=",A1))
    And the sum of the Column B in table 2 for the same condition would be:
    =Sumif(Table 2::A,concatenate(">=",A1),Table 2::B)
    Jason

  • Single Chart Series with multiple color data points

    I am developing an application using the flex chart component
    and I am binding data to 3 different chart series which is pretty
    intense processing. I was wondering can I use only one chart series
    and when I bind the data points just to change the color per data
    point which meet certain criteria?
    Here one method from my application where I am dynamically
    binding data to my series.
    private function loadSeries(data:XMLList, yAxis:String):void
    seriesAdd.yField = yAxis;
    seriesAdd.xField = "Date";
    //seriesDelete.yField = yAxis;
    //seriesDelete.xField = "Date";
    //seriesChange.yField = yAxis;
    //seriesChange.xField = "Date";
    seriesAdd.dataProvider = data.Trade.(A == 'Add');
    seriesAdd.//Can I change the color per each data point if I
    have multiple data sets?
    //seriesDelete.dataProvider = data.Trade.(A == 'Delete');
    //seriesChange.dataProvider = data.Trade.(A == 'Change');
    Thank you

    I think I found something to get me started:
    http://livedocs.adobe.com/flex/3/html/help.html?content=charts_displayingdata_09.html
    My next question is if I have the following function to fill
    my data points:\
    private function myFillFunction(element:ChartItem,
    index:Number):IFill {
    var c:SolidColor = new SolidColor(0x00CC00);
    var item:ColumnSeriesItem = ColumnSeriesItem(element);
    var sales:Number = Number(item.yValue);
    if (sales >= 50000) {
    return c;
    } else {
    // They have not met their goal.
    c.color = 0xFF0000;
    return c;
    How can I access values that pertain to the specific chart
    item, but are not plotted on the x and y axis. Something similar to
    the checking on the above function, but check if value that is not
    plotted but still exists on the data provider.
    Thanks in advance.

  • Change color in chart series (Chart Controls)?

    Does anyone know if it's possible to change the color within a series in Microsoft Chart Controls?  My data is X = test time and Y = response time using a column graph.  Currently when the test to collect response time fails it does not
    record a numerical value and when graphed it appears as though the response time was minimal.  I want to make it stand out when a failure occurs, for example to draw a large column and change the color to red (other values are in blue).
    I don't have much experience using Chart Controls yet.  I know you can use an alternate color with a different series of data but it doesn't appear you can change it from within. 
    This is my chart series (when a test fails, the response matches "" and not $NULL):
    [void]$chart1.Series.Add("ResponseTime")
    $chart1.Series["ResponseTime"].ChartType = "Line"
    $chart1.Series["ResponseTime"].BorderWidth  = 1
    $chart1.Series["ResponseTime"].IsVisibleInLegend = $true
    $chart1.Series["ResponseTime"].chartarea = "ChartArea1"
    $chart1.Series["ResponseTime"].color = "#0404B4"
    $DATA | ForEach-Object {
    If ($_.RESPONSE_MS -eq "") {
    $chart1.Series["ResponseTime"].Points.addxy("FAIL",9999)
    Else {
    $chart1.Series["ResponseTime"].Points.addxy( $_.TIME.Remove(5) , ($_.RESPONSE_MS)) }
    I tried changing the color within the if/else but the first .color value it picks up will be used throughout. 

    Hi Tickermcse76,
    To create a new line chart, please refer to this script:
    function New-Chart
    param ([int]$width,[int]$height,[int]$left,[int]$top,$chartTitle)
    # create chart object
    $global:Chart = New-object System.Windows.Forms.DataVisualization.Charting.Chart
    $global:Chart.Width = $width
    $global:Chart.Height = $height
    $global:Chart.Left = $left
    $global:Chart.Top = $top
    # create a chartarea to draw on and add to chart
    $chartArea = New-Object System.Windows.Forms.DataVisualization.Charting.ChartArea
    $global:chart.ChartAreas.Add($chartArea)
    [void]$global:Chart.Titles.Add($chartTitle)
    # change chart area colour
    $global:Chart.BackColor = [System.Drawing.Color]::Transparent
    } #New-Chart
    New-Chart -width $width -height $height -left $left -top $top -chartTile $chartTitle
    [void]$global:Chart.Series.Add("Data")
    # $global:Chart.Series["Data"].Points.AddXY($(get-date), $($ht.Values))
    $global:Chart.Series["Data"].Points.DataBindXY($ht.Keys,$ht.Values)
    #$global:Chart.Series["Data"].XValueType = [System.Windows.Forms.DataVisualization.Charting.ChartValueType]::Time
    #$global:Chart.chartAreas[0].AxisX.LabelStyle.Format = "hh:mm:ss"
    #$global:Chart.chartAreas[0].AxisX.LabelStyle.Interval = 1
    #$global:Chart.chartAreas[0].AxisX.LabelStyle.IntervalType = [System.Windows.Forms.DataVisualization.Charting.DateTimeIntervalType]::Seconds
    $global:Chart.Series["Data"].ChartType = [System.Windows.Forms.DataVisualization.Charting.SeriesChartType]::Line
    #$global:chart.Series["Data"].IsValueShownAsLabel = $false
    Reference from:
    http://poshcode.org/1205
    To change the chart color, please refer to this script:
    Charting with PowerShell
    I hope this helps.

  • How to change the area of cells used as pie chart legend?

    In Numbers '13 I cannot drag the legend area separately (as I could do in Number '09). The same on iPad.
    Did I miss something?

    re:  ChartLegend
    The line "chtChart.SeriesCollection.NewSeries" does nothing.
    After legend entries have been deleted, the only way to restore them is to remove and recreate the legend that contained them by setting the HasLegend property for the chart to False and then back to True...
      chtChart.HasLegend = False
      chtChart.HasLegend = True
    (the font in the new legend may need adusting)
    It has been a very long time since I have created charts with VBA.
    My Excel help file says to change the values used by a Chart Series you have to specify a range or provide an array of values (not both)
    So this seems to work...
    Dim X as Variant
    X = chtChart.SeriesCollection(3).Values
    chtChart.SeriesCollection(1).Values = X
    Jim Cone
    Portland, Oregon USA
    free & commercial excel programs (n/a xl2013)
    https://jumpshare.com/b/O5FC6LaBQ6U3UPXjOmX2

  • Using crystal report to extract data from Audit Log

    I have a customised form which contains main fields (i.e 20 fields) and when a field is changed, it's being recorded in the audit log.
    Would it be possible to use Crystal Report to extract data from the Audit Log? Ideally, i would like the report to show me all the latest field values in a spreadsheet type format (i.e. one field per column)
    Has anyone try this and if so, what is involved?

    An element with both text & a sub-element is a mixed-content element.
    For example ElementA is a mixed content element.
    <ElementA>
    Text
    <ElementB></ElementB>
    </ElementA>
    Extract just the Text from ElementA.
    <xsl:template match="ElementA">
    <xsl:apply-templates select="text()" />
    </xsl:template>

  • Can't save record when I use formulas

    I am using Forms Version 6.0.8.11.3.
    I have a data block related to a table of my database, and two of the fields are calculated using a formula, for example, the formula that calculates the value of :datablock.field3 is:
    nvl(:datablock.field1,0) + nvl(:datablock.field2,0).
    The problem is that when I use the procedure commit_form or press the button of commit_form and I am using a formula the changes are not saved, and when I calculate the value of the field3 by not using a formula (I write the code that calculates the value in the when-validate-item trigger of field1 and field2), the changes are saved. So the use of formulas is a kind of Joke from the people of Oracle or something like that, or am I doing something wrong?

    That is a good point, but I am not the designer.
    So Forms doesn't permit to save calculated fields of the same table by using formulas to avoid redundant data?

  • How to use formulas to calculate data variance?

    Hi!
    I tried to use the variance formula to calculate the data variance but the answer is always wrong. I've tried this on excel and I get the right answer. Is it possible that there is a bug with NUMBERS? coz the sample variance should be the sum of the squared differences between each observation and the sample mean divided by the sample size, n, minus 1. but what i always get is the population variance, which is the sum of the squared differences bewteen each observation and the population mean divided by the population size,N. and I have no idea what should I input in the two blanks which will be showed in the following pic.
    Thank you!

    Hi Kenny,
    Apple provides an excellent manual, the iWork Formulas and Functions User Guide, which lists, describes, and gives one or more example for using each of the 250+ functions supported by Numbers.
    The entry for VAR includes the following:
    Usage Notes
    The VAR function finds the sample (unbiased) variance by dividing the sum of the 
    squares of the deviations of the data points by one less than the number of values.
    Here are the results of a small test.
    Sample data is in cells B2:B6.
    The result of the VAR function calculation (=VAR(B2:B6) is shown in B10.
    The rest of the table shows a stepp by step calculation of the Variance of the sample:
    B8 shows the mean, calculates with =AVERAGE(B2:B6)
    C2:C6 show the deviation of each value in B from the mean.
    D2:D6 show the square of that deviation.
    D10 shows the sum of D2:D6,
    And E10 shows that sum divided by one less than the number of values in the sample, which, you'll note, agrees with the result obtained with VAR.
    "I've tried this on excel and I get the right answer."
    I fired up the Windows netbook, launched Excel and plugged in the same set of sample data and the same =VAR(B2:B6) formula, and got the same result, 467.5.
    And =VARP(B2:B6), using the same sample data set, gave identical results ( 374) on both Numbers and Excel.
    If there's an issue, it's not showing up here.
    If you'd like me to try it with a larger data set, you could send me your numbers. My address is available by clicking my name above this post.
    "I have no idea what should I input in the two blanks which will be showed in the following pic."
    num-date indicates a Number or Date (and Time) value may be used. Individual values should be separated by commas (except in regions where the comma is the decimal separator.
    For VAR, a range of cells may be referenced, as I've done above.
    Regards,
    Barry

  • I need a formula to convert a date into an integer (for use in Lookout)

    I have a DATA logger with the following:
    40001 = 4 (2004)
    40002 = 2 (February)
    40003 = 5 (5th)
    40004 = 13 (1:00pm)
    40005 = 12 (12 minutes)
    Lookout requires a date that it understands (eg. January 1, 1900).
    All I need is a basic formula to convert the date and time.
    This formula does not need to be specifically written for Lookout. Just a basic formula that I can do on paper or a calculator.
    I can integrate that formula into the Lookout software myself.

    Hello Smigman,
    First of all, I apologize in advance for not giving you "just the formula." And for the lengthy explanation (had to wait till after work hours), which you are very likely aware of already. I am writing this response in much detail so that it may benefit others.. hopefully And so that we understand the underlying principle involved, which will hopefully help us in building the formula the best way that suits us.
    As you have figured out, the data and time in Lookout is represented as a real number. This real number's integer portion represents days, and the decimal portion denotes time. The integer portion is basically the number of days since 01/01/1900. And the decimal portion is the number of seconds since midnight.
    So, for instance, if you insert the today() Expression in Lookout, you'll get a integer 38022 (which corresponds to today, Feb. 5th, 2004). In other words, today is the 38022nd day since 01/01/1900. Tomorrow, Feb. 6th 2004, will be 38023 and so on.
    The decimal part denotes time. A day has 24*60*60 = 86400 seconds, obviously. So, 1/86400 = 1.15741E-5 roughly represents one second. For instance, 38022.00001157 will give 02/05/2004 00:00:01.
    Coming to the formula now, for Time, first convert it to total seconds from midnight. E.g., 5:15:07pm would be (17*60*60) + (15*60) + 7 = 62107 seconds total since midnight. To get the Lookout's decimal part, divide this by 86400.
    62107/86400 = 0.71883102
    Therefore, 38022.71883102 would now give 02/05/2004 17:15:07. Computing Time is relatively easy.
    For the Date -- which is more complicated-- you could keep track of the total number of days either from 01/01/1900, or better still, a more recent day, like say 12/31/2003, which corresponds to 37986. To this reference you will keep adding 1 for each additional day to get the number for the current day. Note, you will have to accomodate leap years (Feb. 29th of this year, for instance).
    It's very helpful to have the reference day as the last day of the past year. That can be derived by counting the number of days since 01/01/1900 as follows:
    104 years * 365 days = 37960;
    + 1 day for each leap year
    A leap year is a year divisible by 4 (and 400 if the year ends with two zeros). There were 26 leap years from 1900 till 2003.
    So, 37960 + 26 = 37986. 12/31/2003 is thus represented by 37986.
    To get the integer for the Current Date we would first find what day of the year it is. Then add it to the reference day. Feb 5th, is the 36th day of the year. Adding this to 37986, gets us 38022.
    In your case you will have to come up with the correct day of the year using registers 40002 and 40003. Not sure if this helped or confused you more.
    I tried
    Khalid

  • Create a formula variable using replacement path for current date

    Hi All,
    I created a formula variable using replacement path for current date.
    But when i used this variable am getting an error message saying .
    " This Variable cannot be used in this query".
    Could you please let me know the reason?
    Thanks,
    Zehra

    Hi All,
    Thanks for all your help...
    I just found a solution via the below link
    in Bex Formula variabel, Current calander day(sap exit) missing.
    Here he is trying to use the existing formula variable.
    My doubt here is, Even i could not find this varaible in BEX formula variable, But could see this in BI Content path as mentioned in the above link.  DO i have to transport this varaible , or i simply can activate it in production?
    I just could find this in BI Content but not in MetaData Repository.
    Thanks,
    Zehra

  • Is it possible to use xml publisher with xml document as data source ?

    I have an application that have to publish document from xml document that are not part a oracle 10g database but will be stored into Oracle Berkeley XML database insteed. Is it possible to use server and/or desktop to publish these documents ?
    I test the desktop edition using the source xml document but it render no data when the template is executed (vizualization)
    I installed the server edition and i'm not able to declare xml document as a data source
    So i have a doubt that xml publisher is able to publish something from a xml datasource
    Thanks

    Yes, it is possible.
    The problem should come from your template. Refer to "edit a RTF template" in the docs.
    A fact is that XML Publisher server edition is not very adapted to an XML file datasource. In order to use it, you should use an HTTP datasource, with the URL of your XML document (that you should place on a web server...). The problem is that this URL is fixed and point always on the same reference...so XML Publisher server edition is not very good for that use.
    I choose to use the XML Publisher Java API which is better for this task.

  • Sequence: possible to use sequence in "Data" tab

    Hello,
    I have one question concerning the "Data" tab in Developer which makes it possible to enter rows like in an excel sheet.
    Is it possible to use a sequence in a direct way here? Entering "<sequence_name>".nextval or ""<sequence_name>".currval" just puts the string like "s.nextval" or "s.currval" in a varchar2-field.
    Trying to put "s.nextval" in a number-field results in ORA-01722 which means invalid number.
    Would be very helpful when there is a way to do this?
    Thanks a lot in advance for answers how I can achieve this.
    Regards
    Firefighter

    SQL Developer has a small utility that does what Jim describes. Select Tables, right -click to invoke the context menu, then select Trigger -> Create (PK from SEQUENCE). The context menu title is misleading in a sense that you might want to populate any column and you can, but in general this can be used to populate the PK with the next value in a sequence. (Assuming you have created the sequence)
    Sue

  • Charting cumulative date-series data, that isn't in order in a worksheet

    So, I have sales folks entering sales opportunities into worksheets, but they are NOT in date order.
    I wish to create a chart the shows the cumulative sales totals, accumulating them in date order.
    I know how to do this IF they sales data is entered in date order.
    But if is not, I must either re-enter it chronologically, or sort the worksheet chronologically, and then create a column that performs the cumulative values.
    However, this approach means I must re-sort the values EVERY time the sales person enters his sales opportunities.
    the Excel Charts allow the use of a time axis that will automatically sort and plot values in chronological order.  But I need the charting to perform the cumulative function as well.
    Ideas?

    Hi,
    Based on your required, I agree with Mr. trip_to_Tokyo's suggestion. We can use Pivot table/Chart and then group the data.
    Here is the detailed information, we can refer to:
    http://office.microsoft.com/en-ca/excel-help/group-or-ungroup-data-in-a-pivottable-report-HA102840048.aspx
    http://chandoo.org/wp/2009/11/17/group-dates-in-pivot-tables/
    Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Is it possible to use a Shared Variable within a Chart?

    I have a shared variable between a container report and a subreport called {@ResponseCount}:
    whileprintingrecords;
    shared numbervar Responses:= DistinctCount ({Survey_Response.RecipID})
    I placed the variable in the report footer and the value is passing correctly.  I would like to use this shared value in a chart; however, it is not even listed in the Chart Expert as an available field.  I was placing the chart in Report Footer b.
    I have also tried moving the variable value to the Report Header and placing the chart in the Report Footer, with the same result.
    I tried changing the variable to a global variable, thinking that I was using the incorrect scope, but that passed a zero value instead.
    Any suggestions would be welcome.  Thank you.

    Thank you for the response.  Though I almost gave up on this, I did find a way to access the shared variable after all.  I created a formula that simply called the variable formula.  For this example, I was using a shared variable to pull a value from my container report into my sub report for use in a chart.
    In my container report I created the shared variable {@Get_Responses}:
    whileprintingrecords;
    shared numbervar Responses:= DistinctCount ({Survey_Response.RecipID})
    In my sub report I created the formula to call the above variable {@Fetch_Responses}
    whileprintingrecords;
    shared numbervar Responses;
    Then, again in my sub report, I created a second formula to call the above formula {@ResponsesForChart}
    {@Fetch_Responses}
    This last formula was then available for use in the chart I needed to create.

  • Is it possible to use 2.4GB of data roaming in 1 hour on a iPhone

    Can anyone help me please. I have a iPhone 4 and turned off data roaming, emails 3G etc when I went to turkey and only used the phone to make a few texts and calls but received a £742 bill on my return to the uk for 2.4GB of data roaming in 1 hour 3 minutes. I have done a bit of research on how much data this actually is a I do not believe it is even possible to use this amount in such a short time.  Can anyone advise me as vodafone are just not listening and say I must have used it. The data roaming is claimed to be at 0400-0500 hours when o was asleep and my phone was turned off!

    Data use is not reported in real time in many cases. If the system you were on was like many, it reports data useage in batches, at a specific time each day. If the useage appears on your bill as occuring between 0400 and 0500 that is the time it was reported, not the time it was actually used. It could have actually been spread out across dozens or hundreds of individual transactions across the course of a day, or in rare cases, more.

Maybe you are looking for

  • How to fill out and submit a web form using LabVIEW

    Almighty Forum, This question will require knowledge not only of LabVIEW, but also of HTML, JavaScripting, and possibly more.  I don't know about you, but I have an on-line account for pretty much everything: Bank, Credit Card, Savings, ETrade, 401K,

  • Why V1 (input tax) apply to PO but not A1

    Hi friends, I am creating PO under a UK company code. to my understanding, I should input A1(output tax code) since this is liability. However, system forced me to input V1(input tax). Why? while I realized A1 has been applied to customer invoice. is

  • Acrobat Distiller keeps asking for Name and Password

    I have Adobe Acrobat Pro 9 and every time I open Acobrat Distiller it keeps asking me for my Name and Password. I am sure this question has been asked before but I am having trouble finding it on the forums. Any help would be greatly appreciated. Tha

  • IPhoto MobileMe uploaded picture orientation problem

    Hi, I scanned a number of old photos into iPhoto and moved the photos to upright orientations (portrait and landscape). I then organized them under a single event and published to the MobileMe Gallery. Once uploaded, however, the orientations of some

  • Photoshop CS5 Print Settings button does not work

    Photoshop CS5 (updated to newest version 12.0.4) Print Settings button does nothing regardless of printer requested.  Does not work with either an HP1102w or a Cannon Pro9000 Mark II.  I have deleted printers and reinstalled but it still doesn't work