+ Reply to Thread
Results 1 to 10 of 10

Sums according to the content of fields

  1. #1
    bj
    Guest

    RE: Sums according to the content of fields

    Try
    =sumif(A:A,"First",B:B)
    etc.

    "James1976" wrote:

    > Hello everyone,
    >
    > I would like to sum figures in a table according to the contents of the
    > fields. For example I have three definitions in column A : First, Second,
    > Third and a number in column B. I would like to generate a sum for all the
    > numbers where column B = "First" and then another sum where column B = Second
    > or Third.
    >
    > Thanks very much for any help you can give me.
    > --
    > James


  2. #2
    James1976
    Guest

    RE: Sums according to the content of fields

    Hello,

    Thanks for your reply but I tried sum if and before and it returns just a 0.
    --
    James


    "bj" wrote:

    > Try
    > =sumif(A:A,"First",B:B)
    > etc.
    >
    > "James1976" wrote:
    >
    > > Hello everyone,
    > >
    > > I would like to sum figures in a table according to the contents of the
    > > fields. For example I have three definitions in column A : First, Second,
    > > Third and a number in column B. I would like to generate a sum for all the
    > > numbers where column B = "First" and then another sum where column B = Second
    > > or Third.
    > >
    > > Thanks very much for any help you can give me.
    > > --
    > > James


  3. #3
    bj
    Guest

    RE: Sums according to the content of fields

    if your answer is zero one of two things
    the Column A does not match or the the column B are not numbers

    to check column A
    try
    for one of the cells which says "First" (A3??)
    in a blank cell enter
    =A3="First"
    if the answer is false there are probably spaces or something
    try
    =Trim(A3)="First"

    To check Column B
    =sum(B10:B12) or appropriate range
    if the answer is 0 then column B is probably text which looks like numbers
    Try entering 1 in an empty cell copying the cell
    Select the data in column B and paste special mulitply
    check your sum b10:b12 cell If still 0
    use a helper column and enter
    =value(trim(B1))
    and copy down to the bottom of your data. copy and paste special values over
    B

    "James1976" wrote:

    > Hello,
    >
    > Thanks for your reply but I tried sum if and before and it returns just a 0.
    > --
    > James
    >
    >
    > "bj" wrote:
    >
    > > Try
    > > =sumif(A:A,"First",B:B)
    > > etc.
    > >
    > > "James1976" wrote:
    > >
    > > > Hello everyone,
    > > >
    > > > I would like to sum figures in a table according to the contents of the
    > > > fields. For example I have three definitions in column A : First, Second,
    > > > Third and a number in column B. I would like to generate a sum for all the
    > > > numbers where column B = "First" and then another sum where column B = Second
    > > > or Third.
    > > >
    > > > Thanks very much for any help you can give me.
    > > > --
    > > > James


  4. #4
    bj
    Guest

    RE: Sums according to the content of fields

    Try
    =sumif(A:A,"First",B:B)
    etc.

    "James1976" wrote:

    > Hello everyone,
    >
    > I would like to sum figures in a table according to the contents of the
    > fields. For example I have three definitions in column A : First, Second,
    > Third and a number in column B. I would like to generate a sum for all the
    > numbers where column B = "First" and then another sum where column B = Second
    > or Third.
    >
    > Thanks very much for any help you can give me.
    > --
    > James


  5. #5
    James1976
    Guest

    RE: Sums according to the content of fields

    Hello,

    Thanks for your reply but I tried sum if and before and it returns just a 0.
    --
    James


    "bj" wrote:

    > Try
    > =sumif(A:A,"First",B:B)
    > etc.
    >
    > "James1976" wrote:
    >
    > > Hello everyone,
    > >
    > > I would like to sum figures in a table according to the contents of the
    > > fields. For example I have three definitions in column A : First, Second,
    > > Third and a number in column B. I would like to generate a sum for all the
    > > numbers where column B = "First" and then another sum where column B = Second
    > > or Third.
    > >
    > > Thanks very much for any help you can give me.
    > > --
    > > James


  6. #6
    bj
    Guest

    RE: Sums according to the content of fields

    if your answer is zero one of two things
    the Column A does not match or the the column B are not numbers

    to check column A
    try
    for one of the cells which says "First" (A3??)
    in a blank cell enter
    =A3="First"
    if the answer is false there are probably spaces or something
    try
    =Trim(A3)="First"

    To check Column B
    =sum(B10:B12) or appropriate range
    if the answer is 0 then column B is probably text which looks like numbers
    Try entering 1 in an empty cell copying the cell
    Select the data in column B and paste special mulitply
    check your sum b10:b12 cell If still 0
    use a helper column and enter
    =value(trim(B1))
    and copy down to the bottom of your data. copy and paste special values over
    B

    "James1976" wrote:

    > Hello,
    >
    > Thanks for your reply but I tried sum if and before and it returns just a 0.
    > --
    > James
    >
    >
    > "bj" wrote:
    >
    > > Try
    > > =sumif(A:A,"First",B:B)
    > > etc.
    > >
    > > "James1976" wrote:
    > >
    > > > Hello everyone,
    > > >
    > > > I would like to sum figures in a table according to the contents of the
    > > > fields. For example I have three definitions in column A : First, Second,
    > > > Third and a number in column B. I would like to generate a sum for all the
    > > > numbers where column B = "First" and then another sum where column B = Second
    > > > or Third.
    > > >
    > > > Thanks very much for any help you can give me.
    > > > --
    > > > James


  7. #7
    James1976
    Guest

    Sums according to the content of fields

    Hello everyone,

    I would like to sum figures in a table according to the contents of the
    fields. For example I have three definitions in column A : First, Second,
    Third and a number in column B. I would like to generate a sum for all the
    numbers where column B = "First" and then another sum where column B = Second
    or Third.

    Thanks very much for any help you can give me.
    --
    James

  8. #8
    bj
    Guest

    RE: Sums according to the content of fields

    Try
    =sumif(A:A,"First",B:B)
    etc.

    "James1976" wrote:

    > Hello everyone,
    >
    > I would like to sum figures in a table according to the contents of the
    > fields. For example I have three definitions in column A : First, Second,
    > Third and a number in column B. I would like to generate a sum for all the
    > numbers where column B = "First" and then another sum where column B = Second
    > or Third.
    >
    > Thanks very much for any help you can give me.
    > --
    > James


  9. #9
    James1976
    Guest

    RE: Sums according to the content of fields

    Hello,

    Thanks for your reply but I tried sum if and before and it returns just a 0.
    --
    James


    "bj" wrote:

    > Try
    > =sumif(A:A,"First",B:B)
    > etc.
    >
    > "James1976" wrote:
    >
    > > Hello everyone,
    > >
    > > I would like to sum figures in a table according to the contents of the
    > > fields. For example I have three definitions in column A : First, Second,
    > > Third and a number in column B. I would like to generate a sum for all the
    > > numbers where column B = "First" and then another sum where column B = Second
    > > or Third.
    > >
    > > Thanks very much for any help you can give me.
    > > --
    > > James


  10. #10
    bj
    Guest

    RE: Sums according to the content of fields

    if your answer is zero one of two things
    the Column A does not match or the the column B are not numbers

    to check column A
    try
    for one of the cells which says "First" (A3??)
    in a blank cell enter
    =A3="First"
    if the answer is false there are probably spaces or something
    try
    =Trim(A3)="First"

    To check Column B
    =sum(B10:B12) or appropriate range
    if the answer is 0 then column B is probably text which looks like numbers
    Try entering 1 in an empty cell copying the cell
    Select the data in column B and paste special mulitply
    check your sum b10:b12 cell If still 0
    use a helper column and enter
    =value(trim(B1))
    and copy down to the bottom of your data. copy and paste special values over
    B

    "James1976" wrote:

    > Hello,
    >
    > Thanks for your reply but I tried sum if and before and it returns just a 0.
    > --
    > James
    >
    >
    > "bj" wrote:
    >
    > > Try
    > > =sumif(A:A,"First",B:B)
    > > etc.
    > >
    > > "James1976" wrote:
    > >
    > > > Hello everyone,
    > > >
    > > > I would like to sum figures in a table according to the contents of the
    > > > fields. For example I have three definitions in column A : First, Second,
    > > > Third and a number in column B. I would like to generate a sum for all the
    > > > numbers where column B = "First" and then another sum where column B = Second
    > > > or Third.
    > > >
    > > > Thanks very much for any help you can give me.
    > > > --
    > > > James


+ 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