Modify the results of a SUM

Hi Guys,
In the attached report, the last three columns are the sum I put on column level. For Room and Revenue is perfectly fine, but the ADR column should be the SUM(REVENUE)/SUM(ROOM). At the moment, it is doing the sum of all ADR in each column and I set the aggreated
rules, to Average which doesn't give me the expected results.
https://docs.google.com/file/d/0B0nRf4E3yBfpcWVDYzBFdENtWGc/edit?usp=sharing
Any ideas how to achieve this in pivot table, without changing the whole report?
Thanks and Regards
G

Hello Casperloo, 
Your last statement makes me a liitle suspicious of what's going. So you cannot create a property node such as the ones below. 
What about manually left clicking one of the properties and changing it like in the image below?
Also is this only occurring with the specific property you are trying to utilize or all Daqmx Timing properties?
Best Regards,
Izzy O.
Applications Engineer
National Instruments
www.ni.com/support

Similar Messages

  • How do i put the result of a sum in a variable ?

    Hi All...
    I have two columns in my template, one is debit and another one is credit...
    I did a sum in debit column and a sum in the credit column...
    Now i need to subtract the sum of debit from the sum of credit,
    i was thinkin about put these results in a variable (something like make a "sumResultA" and "sumResultB" and make a field like this <?((sumResultA) - (sumResultB))?>...
    so... how do i put the result of a sum in a variable ???

    <?xdoxslt:set_variable($_XDOCTX, 'variablesumResultA', (sumResultA))?>
    <?xdoxslt:set_variable($_XDOCTX, 'variablesumResultB', (sumResultB))?>
    <?xdoxslt:set_variable($_XDOCTX, 'variablesumResultAB', ((sumResultA) - (sumResultB)))?>to set the, use as above.
    to display them
    <?xdoxslt:get_variable($_XDOCTX, 'variablesumResultB')?>
    <?xdoxslt:get_variable($_XDOCTX, 'variablesumResultA')?>
    <?xdoxslt:get_variable($_XDOCTX, 'variablesumResultAB')?>

  • Access the results of the following query in Java? SELECT sum(COL_X) FROM TABLE_A

    Statement stmt = conn.createStatement();
    ResultSet rset = stmt.executeQuery(
    "SELECT sum(COL_X) FROM TABLE_A");
    int = rset.getInt("sum(NUM_CUSTOMER)");This is obviously wrong. Could someone please help me a little on the syntax? I just want to be able to get the sum of the numeric values in a column without having to loop through a ResultSet and manually adding up the total. My question is how can I access the results of this query by assigning the sum to a java variable?

    Hi,
    Probably the easiest way is to use an alias for the sum column, i.e.:
    Statement stmt = conn.createStatement();
    ResultSet rset = stmt.executeQuery(
    "SELECT SUM(COL_X) MY_SUM FROM TABLE_A"
    int i = rset.getInt("MY_SUM");null

  • Oracle 11g SUM function on the result of inner Select

    The inner Select returns rows with the values. The outer select running on tthe result of inner select SUM the result of the inner select.
    Although there are valid rows of the inner select the SUM in the outer SELECT return NVL. As a comment any aggregate function on the outer select returns NVL.
    The query is below.
    select a.yil,
    a.ay,
    sum(brut_prim),
    sum(kom),
    from (SELECT oid_pol_kesilen_acente,
    to_char(pp.zeyil_tanzim_tar, 'yyyy') yil,
    to_char(pp.zeyil_tanzim_tar, 'mm') ay,
    sum(decode(substr(pp.no, 1, 1),
    'T',
    pp.zeyil_brut_prim_fark / 2,
    pp.zeyil_brut_prim_fark)) -
    sum(pp.zeyil_gv_fark) brut_prim,
    sum(pp.zeyil_acente_kom_fark) kom
    from pol_police pp, org_acente oa
    WHERE SUBSTR(PP.NO, 1, 1) != 'D')
    group by oid_pol_kesilen_acente,
    to_char(pp.zeyil_tanzim_tar, 'yyyy'),
    to_char(pp.zeyil_tanzim_tar, 'mm')) a
    group by a.yil, a.ay, oid_pol_kesilen_acente
    Edited by: [email protected] on May 7, 2010 2:09 AM
    Edited by: [email protected] on May 7, 2010 2:31 AM

    Hi,
    please try the below sql:
    select a.yil, a.ay, sum(brut_prim), sum(kom),
    from (SELECT oid_pol_kesilen_acente,to_char(pp.zeyil_tanzim_tar, 'yyyy') yil, to_char(pp.zeyil_tanzim_tar, 'mm') ay,
    sum(decode(substr(pp.no, 1, 1), 'T',nvl(pp.zeyil_brut_prim_fark,0) / 2,nvl(pp.zeyil_brut_prim_fark,0))) - sum(nvl(pp.zeyil_gv_fark,0)) brut_prim,
    sum(nvl(pp.zeyil_acente_kom_fark,0)) kom
    from pol_police pp, org_acente oa
    WHERE SUBSTR(PP.NO, 1, 1) != 'D'
    group by oid_pol_kesilen_acente,
    to_char(pp.zeyil_tanzim_tar, 'yyyy'),
    to_char(pp.zeyil_tanzim_tar, 'mm')
    ) a
    group by a.yil, a.ay, oid_pol_kesilen_acente ;
    Thanks,
    Siva

  • How to modify  the search results of the GUI for subscribing to calendars

    How to modify the search results of the GUI for subscribing to calendars
    Note:
    <OL>
    <LI>The following information applies only to iPlanet Calendar Server 5.0
    Patch 3.
    <LI>All of the cases for which the XSLT changes will work have not been
    verified.
    <LI>The following is only an example of an XSLT customization.
    </OL>
    The example below shows a sample customization of the
    search_for_calendars
    dialog. This customization will result in the Display Name being included as
    part of the search results in the GUI, which would normally show just the
    calendar ID. It will render the returned calendars in the following format:
    <P>
    Display Name - <I>description</I>
    <P>
    Normally, the format would be as follows:
    <P>
    Calendar-ID - <I>description</I>
    <P>
    </A>
    The example consists of the following two files:
    <P>
    <OL>
    <LI>search_for_calendars_common.xsl
    (the entire XSLT file)
    <P>
    <LI>diffctx.txt
    (the context sensitive diff patch file,
    which basically shows only the changes that need to be made)
    </OL>
    <P>
    <HR>
    </A><B>
    search_for_calendars_common.xsl</B>
    <?xml version="1.0" ?>
    <!DOCTYPE xsl:stylesheet (View Source for full doctype...)>
    - <!--
    set the output properties
    <xsl:stylesheet
    xmlns:xsl="http://www.w3.org/XSL/Transform/1.0"
    result-ns="http://www.w3.org/TR/REC-html40">
    -->
    - <xsl:stylesheet xmlns:xsl="http://www.w3.org/XSL/Transform/1.0">
    - <!-- set the output properties
    -->
    <xsl:output method="html" encoding="ISO-8859-1" />
    <xsl:include href="data/common.xsl" />
    <xsl:include href="data/i18n.xsl" />
    <xsl:include href="data/date_format.xsl" />
    <xsl:include href="data/dialog_tabs.xsl" />
    - <xsl:template match="/">
    <xsl:apply-templates select="calendar" />
    </xsl:template>
    - <xsl:template match="calendar">
    - <xsl:choose>
    - <xsl:when test="@top='true'">
    - <xsl:variable name="Frame1">
    <xsl:value-of select="frame[1]" />
    </xsl:variable>
    - <xsl:variable name="Frame2">
    <xsl:value-of select="frame[2]" />
    </xsl:variable>
    - <xsl:variable name="Frame3">
    <xsl:value-of select="frame[3]" />
    </xsl:variable>
    - <xsl:variable name="tab_value">
    <xsl:value-of select="@tab" />
    </xsl:variable>
    - <HTML>
    - <HEAD>
    <xsl:call-template name="contextJavascript" />
    <TITLE>Calendars Search: Calendar Express - iPlanet</TITLE>
    </HEAD>
    - <FRAMESET border="0" frameborder="0" rows="77,*,71">
    <FRAME name="tab" marginheight="0" marginwidth="0" scrolling="no"
    scrollbars="no" src="{$Frame1}" />
    <FRAME name="main" frameborder="0" src="{$Frame2}" />
    <FRAME name="button" marginheight="0" marginwidth="0" scrolling="no"
    scrollbars="no" frameborder="0" src="{$Frame3}" />
    </FRAMESET>
    </HTML>
    </xsl:when>
    - <xsl:when test="@view='searchProperties'">
    - <xsl:for-each select="group">
    - <xsl:if test="@name='searchProperties'">
    <xsl:call-template name="search_toolbar" />
    </xsl:if>
    </xsl:for-each>
    </xsl:when>
    - <xsl:when test="@view='main'">
    - <xsl:for-each select="group">
    - <xsl:if test="@name='main'">
    <xsl:call-template name="main" />
    </xsl:if>
    </xsl:for-each>
    </xsl:when>
    - <xsl:when test="@view='button'">
    - <xsl:for-each select="group">
    - <xsl:if test="@name='button'">
    <xsl:call-template name="button_root" />
    </xsl:if>
    </xsl:for-each>
    </xsl:when>
    - <xsl:otherwise>
    - <html>
    What's this view? (search_for_cals.xsl) -
    <xsl:value-of select="@view" />
    </html>
    </xsl:otherwise>
    </xsl:choose>
    </xsl:template>
    - <xsl:template name="search_toolbar">
    - <HTML>
    <xsl:call-template name="emit_frame_head_tag" />
    - <BODY bgcolor="{$bgcolor_background}" background="imx/tdbg.gif"
    marginwidth="0" marginheight="0" onload="window.focus()">
    - <FORM>
    - <xsl:attribute name="action">
    <xsl:value-of select="./formdata@action" />
    </xsl:attribute>
    <xsl:attribute name="name">form</xsl:attribute>
    <xsl:attribute name="onSubmit">document.forms[0]['find'].click(); return false;
    </xsl:attribute>
    <xsl:apply-templates select="formdata" />
    - <CENTER>
    - <TABLE border="0" cellpadding="2" cellspacing="0" width="100%" height="100%">
    - <TR>
    - <TD align="center">
    - <TABLE border="0" cellpadding="3" cellspacing="1">
    - <TR>
    - <TD colspan="4">
    <FONT size="{$font_size_big_2}" face="{$font_name}">Find all calendars where
    the calendar</FONT>
    </TD>
    </TR>
    - <TR>
    - <TD valign="baseline">
    - <FONT size="{$font_size_big_2}" face="{$font_name}">
    - <SELECT name="which">
    <OPTION value="name;calid">name or ID</OPTION>
    <OPTION value="name">name</OPTION>
    <OPTION value="primaryOwner">primary owner</OPTION>
    <OPTION value="calid">ID</OPTION>
    </SELECT>
    </FONT>
    </TD>
    - <TD valign="baseline">
    - <FONT size="{$font_size_big_2}" face="{$font_name}">
    - <SELECT name="how">
    <OPTION value="0">contains</OPTION>
    <OPTION value="1">begins with</OPTION>
    </SELECT>
    </FONT>
    </TD>
    - <TD valign="baseline">
    <INPUT type="text" name="what" />
    </TD>
    - <TD valign="baseline">
    - <FONT size="{$font_size_big_2}" face="{$font_name}">
    - <INPUT type="button" name="find" value="Find">
    - <xsl:attribute name="onClick">
    <xsl:value-of select="./button[@name='find']" />
    </xsl:attribute>
    </INPUT>
    </FONT>
    </TD>
    </TR>
    </TABLE>
    </TD>
    </TR>
    </TABLE>
    </CENTER>
    </FORM>
    </BODY>
    </HTML>
    </xsl:template>
    - <xsl:template name="main">
    - <HTML>
    <xsl:call-template name="emit_frame_head_tag" />
    - <BODY bgcolor="{$bgcolor_background}" background="imx/tdbg.gif"
    marginwidth="0" marginheight="0">
    - <FORM name="form" method="post">
    - <xsl:attribute name="action">
    <xsl:value-of select="./formdata@action" />
    </xsl:attribute>
    <xsl:attribute name="name">form</xsl:attribute>
    <xsl:apply-templates select="formdata" />
    <INPUT type="hidden" name="how" value="0" />
    <INPUT type="hidden" name="which" value="name;calid" />
    <INPUT type="hidden" name="what" value=" />
    <INPUT type="hidden" name="selectedGroup" />
    - <xsl:if test="(./calsearchresults/nomatch)">
    - <!-- print no match found
    -->
    &#38;nbsp;
    &#38;nbsp;
    No Match Found
    </xsl:if>
    - <xsl:for-each select="./calsearchresults/searchresultcal">
    - <P>
    &#38;nbsp;
    &#38;nbsp;
    - <FONT size="{$font_size_big_2}" face="{$font_name}">
    - <FONT size="{$font_size_big}" face="{$font_name}">
    Owner:
    <xsl:value-of select="@owner" />
    <FONT size="{$font_size_big}" face="{$font_name}" color="{$bgcolor_wend_mid}">|
    </FONT>
    Calendar ID:
    <xsl:value-of select="@id" />
    <BR />
    </FONT>
    - <FONT size="{$font_size_big_2}" face="{$font_name}">
    - <xsl:choose>
    - <xsl:when test="@subscribed='false'">
    &#38;nbsp;
    &#38;nbsp;
    - <INPUT type="checkbox" name="calendar">
    - <xsl:attribute name="value">
    <xsl:value-of select="@name" />
    </xsl:attribute>
    </INPUT>
    &#38;nbsp;
    &#38;nbsp;
    - <A target="_blank">
    - <xsl:attribute name="href">
    <xsl:value-of select="@viewCommand" />
    </xsl:attribute>
    <xsl:value-of select="@name" />
    </A>
    </xsl:when>
    - <xsl:otherwise>
    &#38;nbsp;
    &#38;nbsp;
    - <A target="_blank">
    - <xsl:attribute name="href">
    <xsl:value-of select="@viewCommand" />
    </xsl:attribute>
    <xsl:value-of select="@name" />
    </A>
    &#38;nbsp;
    (Subscribed)
    </xsl:otherwise>
    </xsl:choose>
    - <xsl:if test="string-length(@description) > 0">
    &#38;nbsp;
    &#38;nbsp;
    - <FONT size="{$font_size_big}" face="{$font_name}">
    <xsl:value-of select="@description" />
    </FONT>
    </xsl:if>
    </FONT>
    </FONT>
    </P>
    </xsl:for-each>
    </FORM>
    </BODY>
    </HTML>
    </xsl:template>
    </xsl:stylesheet>
    <P>
    <A HREF="#back">Back</A>
    <P>
    <HR>
    </A>
    <B>diffctx.txt</B>
    Index: search_for_calendars_common.xsl
    ===================================================================
    RCS file: /m/src/ns/server/msg/calendar/core/html/search_for_calendars_common.xsl,v
    retrieving revision 1.1.2.14
    diff -c -r1.1.2.14 search_for_calendars_common.xsl
    *** search_for_calendars_common.xsl 2000/12/12 23:10:43 1.1.2.14
    --- search_for_calendars_common.xsl 2001/03/15 23:55:19
    *** 182,188 ****
    &#38;nbsp; &#38;nbsp;
    <INPUT type="checkbox" name="calendar">
    <xsl:attribute name="value">
    ! <xsl:value-of select="@id"/>
    </xsl:attribute>
    </INPUT>
    &#38;nbsp; &#38;nbsp;
    --- 182,188 ----
    &#38;nbsp; &#38;nbsp;
    <INPUT type="checkbox" name="calendar">
    <xsl:attribute name="value">
    ! <xsl:value-of select="@name"/>
    </xsl:attribute>
    </INPUT>
    &#38;nbsp; &#38;nbsp;
    *** 190,196 ****
    <xsl:attribute name="href">
    <xsl:value-of select="@viewCommand"/>
    </xsl:attribute>
    ! <xsl:value-of select="@id"/>
    </A>
    </xsl:when>
    <xsl:otherwise>
    --- 190,196 ----
    <xsl:attribute name="href">
    <xsl:value-of select="@viewCommand"/>
    </xsl:attribute>
    ! <xsl:value-of select="@name"/>
    </A>
    </xsl:when>
    <xsl:otherwise>
    *** 199,205 ****
    <xsl:attribute name="href">
    <xsl:value-of select="@viewCommand"/>
    </xsl:attribute>
    ! <xsl:value-of select="@id"/>
    </A>
    &#38;nbsp;(Subscribed)
    </xsl:otherwise>
    --- 199,205 ----
    <xsl:attribute name="href">
    <xsl:value-of select="@viewCommand"/>
    </xsl:attribute>
    ! <xsl:value-of select="@name"/>
    </A>
    &#38;nbsp;(Subscribed)
    </xsl:otherwise>
    <P>
    <A HREF="#back">Back</A>

    Maybe on the Google API s page?

  • How to sum the  result rows at query designer

    Hi,
    We want to sum  the result rows which are at the end of the row by the help of query designer?So ,we directly see at analyzer
    exp:
       ..A.jan...A.feb...B.may...B.jun...SumA...SumB....SumA+B
    X..1............9..........6..............7........10.........13..........?????
    Edited by: zarata on Oct 23, 2011 12:49 PM
    Edited by: zarata on Oct 23, 2011 1:07 PM

    Hi,
    Could you please provide some more information.
    if you have characteristics iobject whose values are (A, B etc) and calendar month in rows and then at column level you have key figures then if you have turn on the "Display Result Rows" property of both iobject in Bex  as "Always" you can get the result. At the same time you can set "Display Overall result" property of the Query to get overall result.
    Regards,
    Pravin

  • Excel allows array arithmetic (e.g. sum(a1:a5* b1:b5) where the contents of the cells are the results of formulae.  Numbers only allows constants in the array cells. Right?  Any work-arounds?

    Excel allows array arithmetic (e.g. sum{(a1:a5* b1:b5)} where the contents of the cells are the results of formulae.  Numbers only allows constants in the array cells. Right?  Any work-arounds?

    CJPerry wrote:
    Any work-arounds?
    There is a very simple one : use libreOffice.
    Yvan KOENIG (VALLAURIS, France) dimanche 1 janvier 2012
    iMac 21”5, i7, 2.8 GHz, 12 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
    My iDisk is : http://public.me.com/koenigyvan
    Please : Search for questions similar to your own before submitting them to the community
    For iWork's applications dedicated to iOS, go to :
    https://discussions.apple.com/community/app_store/iwork_for_ios

  • How do I display decimal hour as time? Example, I created a formula (originally in Exel) where the result is 2.25. I need this to be displayed as 2:15, (2h, 15m). Here is the formula in cell b8   =SUM((A6/18)*B3 (B6/8)*B3 (A6 B6)/70*B3 B2)/60

    How do I display decimal hour as time in Numbers for iPhone5 ? Example, I created a formula (originally in Exel) where the result is 2.25. I need this to be displayed as 2:15, (2h, 15m). Here is the formula in cell b8   =SUM((A6/18)*B3 (B6/8)*B3 (A6 B6)/70*B3 B2)/60. The result can be in either b8 or a different cell.
      Thanks for helping this novice

    B1=DURATION(0,0,A1,0,0,0)
    The DURATION function combines separate values for weeks, days, hours, minutes, seconds, and milliseconds and returns a duration value.
    DURATION(weeks, days, hours, minutes, seconds, milliseconds)

  • Directory search returns wrong results when you modify the view

    Hello,
    I have a custom list used a staff directory.  This is SharePoint 2013.  I am using a search box where users can type in names to find people. 
    When I add or remove a record in the list or modify the view and then I search for my name, all search results appear.  It once just returned 1 record for my name, but now it returns all 100 records in the list.
    How can I fix this?
    Thanks,
    Paul
    Paul

    Hi Paul,
    Did you search in the SharePoint list or in SharePoint search center?
    Could you provide more details about how you created the custom list?
    Please try to enable Server Render as editing the page->Edit Web Part-> Miscellaneous, compare the result.
    Please operate in other lists and in other site collections and test whether this issue occurs.
    Please start a full crawl in Central Administration -> Manage service application -> Search service application -> Content Sources and test whether this issue occurs.
    Could you check if it exists error in ULS log after you failed to search in the SharePoint list.
    Best Regards,
    Dean Wang
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Sum of the Results

    hello...we have some problem in summing out the results for the /BA1/K62EAD here based on the  /BA1/C62UEXPOS. When we execute the program, the results always showing a few lines of the same  /BA1/C62UEXPOS as below:
      /BA1/C62UEXPOS /BA1/K62EAD
    a  20
    a  30
    a  40
    b  30
    and the expected results should be a = 90 which is a sum but we got the results as below which break down to several records. what can we do on these? we have the code as below:
    SELECT /BA1/C20BPART
           /BA1/C62UEXPOS
           /BA1/K62EAD
           /BIC/OBJ_CURR
           FROM /1BA/HM_8QZO_400 INTO wa_rdldata
            FOR ALL ENTRIES IN i_resmort
                WHERE /BA1/CR0GROUP = group_id AND
                      /BA1/C62UEXPOS NE i_resmort-t_mort_ftid_dum.
       COLLECT wa_rdldata INTO i_rdldata.
       SORT i_rdldata.
    ENDSELECT.

    Hi,
    try the code and revert back for any prob
    SELECT /BA1/C20BPART
           /BA1/C62UEXPOS
           /BA1/K62EAD
           /BIC/OBJ_CURR
           FROM /1BA/HM_8QZO_400
         INTO table i_rdldata
            FOR ALL ENTRIES IN i_resmort
                WHERE /BA1/CR0GROUP = group_id AND
                      /BA1/C62UEXPOS NE i_resmort-t_mort_ftid_dum.
    loop at i_rdldata INTO wa_rdldata.
    COLLECT wa_rdldata INTO i_rdldata.
    endloop.
    Regards,
    Anirban

  • Modifying the text "Result" and "Overall Result" in a BEx query output

    Hi,
    1) Is it possible to modify the text "Result", "Overall Result" which appears in the sub-total and grand total lines of BEx query output? I do not see any related setting the properties area of the object in BEx Query designer. Do I have to write some VB code or can I do something in Customer Exits?
    Also my client wants that this text need to be made dynamic such as "Sub-Total for the month of Jan 2006".
    I can use work book option and change the texts manually.But this is not meeting my clients requirement.
    2)Is it possible to have dynamic title text for a BEx query?
    We are on BW 3.5 & if any of you could provide / guidance to the above issue.
    Thanks,
    Venkatram

    You will have to use VB Macros to change the text "Result" and "Overall Result", there is not settings in the query designer for the same.
    You can have dynamic descriptions for queries using text variables like Expense Query for month of Jan 2006, if user selected Jan 2006.
    Thanks.

  • Modifying the speed of video clip results in freeze frame

    Hi, I am having a trouble with modifying the speed of some clips in FCP 5.14. When I speed it up, the clip looks correct for the first 2/3, but the remaining 1/3 freezes on the last frame that was played.
    To clarify, the FCP itself is not frozen... it continues to play normally. It looks like you took a still image 2/3 of the way thru my clip and repeated it till the end, making the remaining video disappear.
    Any suggestions on how to fix this would be much appreciated!!

    It sounds like you're using the Time Remap feature incorrectly for the results you want. This article was written for FCP 4 on Time Remapping, but is still appropriate for current versions: http://www.kenstone.net/fcphomepage/fcp_4_timeremap.html
    -DH

  • Modify the "Change Answers Results" form

    I have a requirement where I need to modify the "Change Answers Results" to show additional information. But I dont seem to be able to locate the out of the box form to copy and modify with my fields.
    I am talking about the form that opens up once a user changes his answers from the end user menu. The url is :
    http://localhost:8080/idm/user/changeAnswersResults.jsp
    Thanks,
    Anoop

    Can anyone please help me in this...
    All I need to do is to remove the words "on Lighthouse" on this page..
    It seems it is not a form but a jsp... but where it gets the data / logic from, I couldnt understand.
    Thanks,
    Anoop

  • Formula to calculate SUM of multiple sheets of excel and the result to be stored in another excel sheet and pop up alerts for multiple rows

    I have a excel with multiple
         sheets with data as shown below
    SHEET 1
    A 1
    B 2
    C 3
    SHEET 2
    B 1
    C 2
    A 3
    SHEET 3
    C 1
    A 2
    B 3
    My
    query is splitted into 3 categories
    I want to have a formula to do math calculation such that data of "A" of SHEET 1 is  calculated with "A" of SHEET2 irrespective of the location of "A".
    When I include SHEET3, the formula should automatically identify the location of "A" or "B" or "C" and give the result corresponding to A, B or C. Since I want to bifurcate daily report and output printed. I want to use another
    excel for output. How to link multiple sheets of one excel and print the output of above in
         another excel?
    Assume, I have 4 SHEETS,  "SHEET 1", "SHEET 2", "SHEET 3" and "SHEET 4". Math calculation need to be done using all 4 sheets. If
    I include "SHEET 5", the formula should ignore SHEET 1  automatically and give the results of SHEETS 2 to 5. Similarly, if I include SHEET 6, SHEET 1 and 2 need to be ignored for further calculation and SHEET 3-6 need to be used. How to write
    such formula?
    How to get pop up alert for multiple rows, if a specific condition is hit?

    Maybe VBA Code should be a good option for you. I suggest you post you issue to
    Excel for Developers forum.
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us.
    Thanks for your understanding.
    Best Regards,
    Wind

  • How to get a sum of the result?

    I want to get the results to display the records only once if
    I have the same case number.
    This is my query.
    SELECT distinct c.case_number,
    c.bank_name,
    i.first_name,
    i.last_name,
    it.id_name,
    i.id_number1,
    i.date_of_birth,
    i.country_of_birth,
    (select count(*) from #application.db#.anc_comments ac
    join #application.db#.anc_hit h on ac.hit = h.hit_id
    join #application.db#.anc_individual i on i.individual_key =
    ac.individual_key
    where i.case_number = c.case_number and
    convert(integer,h.hit_code_value) > 0) as num_hits
    FROM #application.db#.anc_case c
    LEFT OUTER JOIN #application.db#.anc_individual i
    on c.case_number = i.case_number
    LEFT OUTER JOIN #application.db#.anc_id_type it on
    i.id_type1 = it.id_class
    left outer join #application.db#.anc_agency_response r
    on i.individual_key = r.individual_key
    WHERE (DATEDIFF(day, r.name_check_sent, getdate()) <= 90
    or r.name_check_sent is null)
    and (c.completed <> 'Yes' )
    order by #url.sort#
    My result displays the same case number more then onces for
    some Case numbers. How do I make my query to combine or only
    display the Case number once.
    Case Number Bank Name
    111-11-456456 AB Bank Name 2
    11-11-09-14.001 AB Bank name 3
    11-111-1114 AB Bank name 4
    94-10-01-06.002 Citizens Bancorporation, Inc.
    94-10-01-06.002 Citizens Bancorporation, Inc.
    94-10-01-06.002 Citizens Bancorporation, Inc.
    94-10-01-06.002 Citizens Bancorporation, Inc.
    94-10-01-06.002 Citizens Bancorporation, Inc.
    06-11-09-14.999 Kenco Bancshares, Inc.
    Thanks for your assistance

    Perhaps because you are using an OUTER JOIN - anytime the
    entire set of selected columns is not distinct you will get another
    row. Distinct applies to the entire row not just the case number.
    Phil

Maybe you are looking for

  • ITunes 10.1.0.56 - multiple bugs! Help!

    Got a couple of different but similar problems with my iTunes (running windows 64bit). Firstly, when I import an MP3 folder into iTunes, and it doesn't recognise the album artist, so spreads the MP3s out all over the place, I am unable to input the a

  • How can I generate reports in java?

    Sir, I use weblogic workshop 8.1 for developing enetrprise application.I need to create reports in my project.Could you give me details about using reports in j2ee? Thanks and regards, Ramesh RK

  • How do I stop my Cursor from being stuck on the Hand tool icon?

    I have Illustrator 10 (Yes, I'm aware it's old, but I can't afford to buy the newest version, as much as I want it) and Photoshop Elements 1(Again, I know it's old, but I do have 7, but it sucks, because when I go to scale pictures down, there is no

  • Directory Server & NDA: modifications or permission problem?

    My predecessor replaced the "change password" page in the IDA. The original page is still at the original location, so I wonder if it was changed in a servlet or config-file (searched, but didn't find it). Accessing the original page (/nda/change.htm

  • Premiere Elements won't open

    I have been using it successfully for a year. I have 86gig free and 16gig RAM. EventViewer says: Faulting application name: Adobe Premiere Elements.exe, version: 11.0.0.0, time stamp: 0x5041d43d Faulting module name: Display.dll, version: 6.0.0.0, ti