+ Reply to Thread
Results 1 to 18 of 18

Formula for Sequencing Totals

  1. #1
    Aladin Akyurek
    Guest

    Re: Formula for Sequencing Totals

    Choose a start cell to put the formula in, say, K3...

    In K3 enter & copy down

    =SMALL(Range,ROW()-ROW(K$3)+1)

    Jeff T wrote:
    > I created an Excel sheet for calculating the cost of items when a value is
    > entered in two cells. The formula in cost column for each row is:
    > =IF(ISERROR(G3/F3),"",G3/F3)
    > I also have a cell that shows me the lowest number in the column:
    > =MIN(I3:I34)
    > I would like to create cells that will show me the next lower number and
    > then a cell to show the next lower number to that. I would only like to
    > display the 5 lowest numbers and as you can see I can easily show the lowest.
    > I don't know what formula to use in the consecutive cells to show the next to
    > lowest and so on.
    > Thanks for any help.
    > Jeff


  2. #2
    Jeff T
    Guest

    Re: Formula for Sequencing Totals

    Thank you for the reply.
    In the formula you gave me do I need to replace the Range and Row items with
    the actual range of cells in the column where I have the totals? There are no
    rows that need to be in the cells with the formula you supplied (I think)
    because it's a column that has the final costs in them that I wish to display
    in consective order.
    Thanks again,
    Jeff

    "Aladin Akyurek" wrote:

    > Choose a start cell to put the formula in, say, K3...
    >
    > In K3 enter & copy down
    >
    > =SMALL(Range,ROW()-ROW(K$3)+1)
    >
    > Jeff T wrote:
    > > I created an Excel sheet for calculating the cost of items when a value is
    > > entered in two cells. The formula in cost column for each row is:
    > > =IF(ISERROR(G3/F3),"",G3/F3)
    > > I also have a cell that shows me the lowest number in the column:
    > > =MIN(I3:I34)
    > > I would like to create cells that will show me the next lower number and
    > > then a cell to show the next lower number to that. I would only like to
    > > display the 5 lowest numbers and as you can see I can easily show the lowest.
    > > I don't know what formula to use in the consecutive cells to show the next to
    > > lowest and so on.
    > > Thanks for any help.
    > > Jeff

    >


  3. #3
    Ragdyer
    Guest

    Re: Formula for Sequencing Totals

    OR,
    From any cell:

    =SMALL(Range,ROW(A1))

    And copy down.
    --
    HTH,

    RD

    ---------------------------------------------------------------------------
    Please keep all correspondence within the NewsGroup, so all may benefit !
    ---------------------------------------------------------------------------


    "Aladin Akyurek" <akyurek@xs4all.nl> wrote in message
    news:41F42680.9040308@xs4all.nl...
    > Choose a start cell to put the formula in, say, K3...
    >
    > In K3 enter & copy down
    >
    > =SMALL(Range,ROW()-ROW(K$3)+1)
    >
    > Jeff T wrote:
    > > I created an Excel sheet for calculating the cost of items when a value

    is
    > > entered in two cells. The formula in cost column for each row is:
    > > =IF(ISERROR(G3/F3),"",G3/F3)
    > > I also have a cell that shows me the lowest number in the column:
    > > =MIN(I3:I34)
    > > I would like to create cells that will show me the next lower number and
    > > then a cell to show the next lower number to that. I would only like to
    > > display the 5 lowest numbers and as you can see I can easily show the

    lowest.
    > > I don't know what formula to use in the consecutive cells to show the

    next to
    > > lowest and so on.
    > > Thanks for any help.
    > > Jeff



  4. #4
    Jeff T
    Guest

    Formula for Sequencing Totals

    I created an Excel sheet for calculating the cost of items when a value is
    entered in two cells. The formula in cost column for each row is:
    =IF(ISERROR(G3/F3),"",G3/F3)
    I also have a cell that shows me the lowest number in the column:
    =MIN(I3:I34)
    I would like to create cells that will show me the next lower number and
    then a cell to show the next lower number to that. I would only like to
    display the 5 lowest numbers and as you can see I can easily show the lowest.
    I don't know what formula to use in the consecutive cells to show the next to
    lowest and so on.
    Thanks for any help.
    Jeff

  5. #5
    Aladin Akyurek
    Guest

    Re: Formula for Sequencing Totals

    Lets say that you have the totals in F3:F40 and you want to determine 5
    smallest/lowest totals in column G from G3 downwards. The formula would
    become:

    =SMALL($F$3:$F$40,ROW()-ROW(G$3)+1)

    copied down for 5 rows.

    Jeff T wrote:
    > Thank you for the reply.
    > In the formula you gave me do I need to replace the Range and Row items with
    > the actual range of cells in the column where I have the totals? There are no
    > rows that need to be in the cells with the formula you supplied (I think)
    > because it's a column that has the final costs in them that I wish to display
    > in consective order.
    > Thanks again,
    > Jeff
    >
    > "Aladin Akyurek" wrote:
    >
    >
    >>Choose a start cell to put the formula in, say, K3...
    >>
    >>In K3 enter & copy down
    >>
    >>=SMALL(Range,ROW()-ROW(K$3)+1)
    >>
    >>Jeff T wrote:
    >>
    >>>I created an Excel sheet for calculating the cost of items when a value is
    >>>entered in two cells. The formula in cost column for each row is:
    >>>=IF(ISERROR(G3/F3),"",G3/F3)
    >>>I also have a cell that shows me the lowest number in the column:
    >>>=MIN(I3:I34)
    >>>I would like to create cells that will show me the next lower number and
    >>>then a cell to show the next lower number to that. I would only like to
    >>>display the 5 lowest numbers and as you can see I can easily show the lowest.
    >>>I don't know what formula to use in the consecutive cells to show the next to
    >>>lowest and so on.
    >>>Thanks for any help.
    >>>Jeff

    >>


  6. #6
    Ragdyer
    Guest

    Re: Formula for Sequencing Totals

    In my formula and Aladin's, replace "Range" with the actual cells containing
    your totals.
    A1:A100 - G25:G500 - X5:X5000 - Whatever !

    In my formula, that's all that's necessary, before you drag down to copy as
    needed.

    In Aladin's formula, you'll also have to replace "K3" with the cell address
    that you're entering his formula into, and then drag down to copy as needed.
    --
    HTH,

    RD

    ---------------------------------------------------------------------------
    Please keep all correspondence within the NewsGroup, so all may benefit !
    ---------------------------------------------------------------------------
    "Jeff T" <JeffT@discussions.microsoft.com> wrote in message
    news:8AEE4807-5048-417A-AAC9-D349644E57B5@microsoft.com...
    > Thank you for the reply.
    > In the formula you gave me do I need to replace the Range and Row items

    with
    > the actual range of cells in the column where I have the totals? There are

    no
    > rows that need to be in the cells with the formula you supplied (I think)
    > because it's a column that has the final costs in them that I wish to

    display
    > in consective order.
    > Thanks again,
    > Jeff
    >
    > "Aladin Akyurek" wrote:
    >
    > > Choose a start cell to put the formula in, say, K3...
    > >
    > > In K3 enter & copy down
    > >
    > > =SMALL(Range,ROW()-ROW(K$3)+1)
    > >
    > > Jeff T wrote:
    > > > I created an Excel sheet for calculating the cost of items when a

    value is
    > > > entered in two cells. The formula in cost column for each row is:
    > > > =IF(ISERROR(G3/F3),"",G3/F3)
    > > > I also have a cell that shows me the lowest number in the column:
    > > > =MIN(I3:I34)
    > > > I would like to create cells that will show me the next lower number

    and
    > > > then a cell to show the next lower number to that. I would only like

    to
    > > > display the 5 lowest numbers and as you can see I can easily show the

    lowest.
    > > > I don't know what formula to use in the consecutive cells to show the

    next to
    > > > lowest and so on.
    > > > Thanks for any help.
    > > > Jeff

    > >



  7. #7
    Jeff T
    Guest

    RE: Formula for Sequencing Totals

    Thanks for the replies. Works great, but when there is no data in the cells
    for the totals, like an empty sheet, the cells with formulas you provided
    show: #NUM!
    When data is entered into the total column cells the results I'm looking for
    work fine. How can I supress the #NUM! from displaying?
    Thanks again,
    Jeff

    "Jeff T" wrote:

    > I created an Excel sheet for calculating the cost of items when a value is
    > entered in two cells. The formula in cost column for each row is:
    > =IF(ISERROR(G3/F3),"",G3/F3)
    > I also have a cell that shows me the lowest number in the column:
    > =MIN(I3:I34)
    > I would like to create cells that will show me the next lower number and
    > then a cell to show the next lower number to that. I would only like to
    > display the 5 lowest numbers and as you can see I can easily show the lowest.
    > I don't know what formula to use in the consecutive cells to show the next to
    > lowest and so on.
    > Thanks for any help.
    > Jeff


  8. #8
    Ragdyer
    Guest

    Re: Formula for Sequencing Totals

    One way,

    =IF(ISERR(SMALL($I$3:$I$34,ROW(A1))),"",SMALL($I$3:$I$34,ROW(A1)))

    --
    HTH,

    RD

    ---------------------------------------------------------------------------
    Please keep all correspondence within the NewsGroup, so all may benefit !
    ---------------------------------------------------------------------------
    "Jeff T" <JeffT@discussions.microsoft.com> wrote in message
    news:AEA5F7BA-3335-4945-B09B-118F6F0CBB03@microsoft.com...
    > Thanks for the replies. Works great, but when there is no data in the

    cells
    > for the totals, like an empty sheet, the cells with formulas you provided
    > show: #NUM!
    > When data is entered into the total column cells the results I'm looking

    for
    > work fine. How can I supress the #NUM! from displaying?
    > Thanks again,
    > Jeff
    >
    > "Jeff T" wrote:
    >
    > > I created an Excel sheet for calculating the cost of items when a value

    is
    > > entered in two cells. The formula in cost column for each row is:
    > > =IF(ISERROR(G3/F3),"",G3/F3)
    > > I also have a cell that shows me the lowest number in the column:
    > > =MIN(I3:I34)
    > > I would like to create cells that will show me the next lower number and
    > > then a cell to show the next lower number to that. I would only like to
    > > display the 5 lowest numbers and as you can see I can easily show the

    lowest.
    > > I don't know what formula to use in the consecutive cells to show the

    next to
    > > lowest and so on.
    > > Thanks for any help.
    > > Jeff



  9. #9
    Jeff T
    Guest

    Re: Formula for Sequencing Totals

    That worked perfectly.
    Thanks.
    Jeff

    "Ragdyer" wrote:

    > One way,
    >
    > =IF(ISERR(SMALL($I$3:$I$34,ROW(A1))),"",SMALL($I$3:$I$34,ROW(A1)))
    >
    > --
    > HTH,
    >
    > RD
    >
    > ---------------------------------------------------------------------------
    > Please keep all correspondence within the NewsGroup, so all may benefit !
    > ---------------------------------------------------------------------------
    > "Jeff T" <JeffT@discussions.microsoft.com> wrote in message
    > news:AEA5F7BA-3335-4945-B09B-118F6F0CBB03@microsoft.com...
    > > Thanks for the replies. Works great, but when there is no data in the

    > cells
    > > for the totals, like an empty sheet, the cells with formulas you provided
    > > show: #NUM!
    > > When data is entered into the total column cells the results I'm looking

    > for
    > > work fine. How can I supress the #NUM! from displaying?
    > > Thanks again,
    > > Jeff
    > >
    > > "Jeff T" wrote:
    > >
    > > > I created an Excel sheet for calculating the cost of items when a value

    > is
    > > > entered in two cells. The formula in cost column for each row is:
    > > > =IF(ISERROR(G3/F3),"",G3/F3)
    > > > I also have a cell that shows me the lowest number in the column:
    > > > =MIN(I3:I34)
    > > > I would like to create cells that will show me the next lower number and
    > > > then a cell to show the next lower number to that. I would only like to
    > > > display the 5 lowest numbers and as you can see I can easily show the

    > lowest.
    > > > I don't know what formula to use in the consecutive cells to show the

    > next to
    > > > lowest and so on.
    > > > Thanks for any help.
    > > > Jeff

    >
    >


  10. #10
    RagDyeR
    Guest

    Re: Formula for Sequencing Totals

    Thanks for the feed-back.
    --

    Regards,

    RD
    --------------------------------------------------------------------
    Please keep all correspondence within the Group, so all may benefit !
    --------------------------------------------------------------------

    "Jeff T" <JeffT@discussions.microsoft.com> wrote in message
    news:2180FFB1-285D-4760-823A-44BA4B8E6D86@microsoft.com...
    That worked perfectly.
    Thanks.
    Jeff

    "Ragdyer" wrote:

    > One way,
    >
    > =IF(ISERR(SMALL($I$3:$I$34,ROW(A1))),"",SMALL($I$3:$I$34,ROW(A1)))
    >
    > --
    > HTH,
    >
    > RD
    >
    > --------------------------------------------------------------------------

    -
    > Please keep all correspondence within the NewsGroup, so all may benefit !
    > --------------------------------------------------------------------------

    -
    > "Jeff T" <JeffT@discussions.microsoft.com> wrote in message
    > news:AEA5F7BA-3335-4945-B09B-118F6F0CBB03@microsoft.com...
    > > Thanks for the replies. Works great, but when there is no data in the

    > cells
    > > for the totals, like an empty sheet, the cells with formulas you

    provided
    > > show: #NUM!
    > > When data is entered into the total column cells the results I'm looking

    > for
    > > work fine. How can I supress the #NUM! from displaying?
    > > Thanks again,
    > > Jeff
    > >
    > > "Jeff T" wrote:
    > >
    > > > I created an Excel sheet for calculating the cost of items when a

    value
    > is
    > > > entered in two cells. The formula in cost column for each row is:
    > > > =IF(ISERROR(G3/F3),"",G3/F3)
    > > > I also have a cell that shows me the lowest number in the column:
    > > > =MIN(I3:I34)
    > > > I would like to create cells that will show me the next lower number

    and
    > > > then a cell to show the next lower number to that. I would only like

    to
    > > > display the 5 lowest numbers and as you can see I can easily show the

    > lowest.
    > > > I don't know what formula to use in the consecutive cells to show the

    > next to
    > > > lowest and so on.
    > > > Thanks for any help.
    > > > Jeff

    >
    >




  11. #11
    Aladin Akyurek
    Guest

    Re: Formula for Sequencing Totals

    Why insist on ROW(A1) for it makes a non-robust formula?

    Ragdyer wrote:
    > One way,
    >
    > =IF(ISERR(SMALL($I$3:$I$34,ROW(A1))),"",SMALL($I$3:$I$34,ROW(A1)))
    >


  12. #12
    Aladin Akyurek
    Guest

    Re: Formula for Sequencing Totals

    Continuing the example...

    =IF(ROW()-ROW(G$3)+1<=COUNT($F$3:$F$40),SMALL($F$3:$F$40,ROW()-ROW(G$3)+1),"")

    to avoid the #NUM! error with insufficient number of data points.

    Jeff T wrote:
    > Thanks for the replies. Works great, but when there is no data in the cells
    > for the totals, like an empty sheet, the cells with formulas you provided
    > show: #NUM!
    > When data is entered into the total column cells the results I'm looking for
    > work fine. How can I supress the #NUM! from displaying?
    > Thanks again,
    > Jeff
    >
    > "Jeff T" wrote:
    >
    >
    >>I created an Excel sheet for calculating the cost of items when a value is
    >>entered in two cells. The formula in cost column for each row is:
    >>=IF(ISERROR(G3/F3),"",G3/F3)
    >>I also have a cell that shows me the lowest number in the column:
    >>=MIN(I3:I34)
    >>I would like to create cells that will show me the next lower number and
    >>then a cell to show the next lower number to that. I would only like to
    >>display the 5 lowest numbers and as you can see I can easily show the lowest.
    >>I don't know what formula to use in the consecutive cells to show the next to
    >>lowest and so on.
    >>Thanks for any help.
    >>Jeff


  13. #13
    Aladin Akyurek
    Guest

    Re: Formula for Sequencing Totals

    Why insist on ROW(A1) for it makes a non-robust formula?

    Ragdyer wrote:
    > One way,
    >
    > =IF(ISERR(SMALL($I$3:$I$34,ROW(A1))),"",SMALL($I$3:$I$34,ROW(A1)))
    >


  14. #14
    Aladin Akyurek
    Guest

    Re: Formula for Sequencing Totals

    Continuing the example...

    =IF(ROW()-ROW(G$3)+1<=COUNT($F$3:$F$40),SMALL($F$3:$F$40,ROW()-ROW(G$3)+1),"")

    to avoid the #NUM! error with insufficient number of data points.

    Jeff T wrote:
    > Thanks for the replies. Works great, but when there is no data in the cells
    > for the totals, like an empty sheet, the cells with formulas you provided
    > show: #NUM!
    > When data is entered into the total column cells the results I'm looking for
    > work fine. How can I supress the #NUM! from displaying?
    > Thanks again,
    > Jeff
    >
    > "Jeff T" wrote:
    >
    >
    >>I created an Excel sheet for calculating the cost of items when a value is
    >>entered in two cells. The formula in cost column for each row is:
    >>=IF(ISERROR(G3/F3),"",G3/F3)
    >>I also have a cell that shows me the lowest number in the column:
    >>=MIN(I3:I34)
    >>I would like to create cells that will show me the next lower number and
    >>then a cell to show the next lower number to that. I would only like to
    >>display the 5 lowest numbers and as you can see I can easily show the lowest.
    >>I don't know what formula to use in the consecutive cells to show the next to
    >>lowest and so on.
    >>Thanks for any help.
    >>Jeff


  15. #15
    RagDyeR
    Guest

    Re: Formula for Sequencing Totals

    Could you please elaborate on your statement "non robust formula", in
    relation to using ROW(A1)?

    I'm always willing to learn.
    --

    Regards,

    RD
    --------------------------------------------------------------------
    Please keep all correspondence within the Group, so all may benefit !
    --------------------------------------------------------------------

    "Aladin Akyurek" <akyurek@xs4all.nl> wrote in message
    news:41F4BF2F.1050002@xs4all.nl...
    Why insist on ROW(A1) for it makes a non-robust formula?

    Ragdyer wrote:
    > One way,
    >
    > =IF(ISERR(SMALL($I$3:$I$34,ROW(A1))),"",SMALL($I$3:$I$34,ROW(A1)))
    >




  16. #16
    RagDyeR
    Guest

    Re: Formula for Sequencing Totals

    Could you please elaborate on your statement "non robust formula", in
    relation to using ROW(A1)?

    I'm always willing to learn.
    --

    Regards,

    RD
    --------------------------------------------------------------------
    Please keep all correspondence within the Group, so all may benefit !
    --------------------------------------------------------------------

    "Aladin Akyurek" <akyurek@xs4all.nl> wrote in message
    news:41F4BF2F.1050002@xs4all.nl...
    Why insist on ROW(A1) for it makes a non-robust formula?

    Ragdyer wrote:
    > One way,
    >
    > =IF(ISERR(SMALL($I$3:$I$34,ROW(A1))),"",SMALL($I$3:$I$34,ROW(A1)))
    >




  17. #17
    Aladin Akyurek
    Guest

    Re: Formula for Sequencing Totals


    Inserting one or more rows before the row of the formula cell (just in
    order to beautify the sheet, for example) would lead to incorrect
    calculations.

    RagDyeR wrote:
    > Could you please elaborate on your statement "non robust formula", in
    > relation to using ROW(A1)?
    >
    > I'm always willing to learn.


  18. #18
    RagDyer
    Guest

    Re: Formula for Sequencing Totals

    Thanks for the lesson.
    I never looked at it in that light before.

    So, I guess that means that rows and/or columns should be inserted and/or
    deleted before a formula is considered acceptable?<g>
    --


    Regards,

    RD
    --------------------------------------------------------------------
    Please keep all correspondence within the Group, so all may benefit!
    -------------------------------------------------------------------

    "Aladin Akyurek" <akyurek@xs4all.nl> wrote in message
    news:41F50F3C.1080400@xs4all.nl...

    Inserting one or more rows before the row of the formula cell (just in
    order to beautify the sheet, for example) would lead to incorrect
    calculations.

    RagDyeR wrote:
    > Could you please elaborate on your statement "non robust formula", in
    > relation to using ROW(A1)?
    >
    > I'm always willing to learn.



+ 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