Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Created IF functions - Need sum of results

I created IF functions for both the outcome and fee columns. Now I need to
be able to get the sum of the fees and wehen I try to use the sum function,
it gives me $0. How do extract the value out of the cell and total the
numbers? I tried doing an a1=a2 and even though the a2 column is showing a
number without the function formula, it still is not ttreating the numbers as
values and will not sum them.

Sample of my table below:

Code Outcome Fee

3 LATE CANCELLATION 150
1 HALF DAY 150
4 PARKING 75
2 FULL DAY 300

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 897
Default Created IF functions - Need sum of results

I'm not clear on what you need, could it be

=SUMIF(B:B,"LATE CANCELLATION",C:C)

In other words, "look for the words LATE CANCELLATION in column B and
add up the corresponding values in column C"

This would give you a sum total of all the late cancellation fees.

HTH,
JP

(ps- You should probably adjust the ranges to account for your real
data.)


On Jan 8, 9:09*pm, TMH0522 wrote:
I created IF functions for both the outcome and fee columns. *Now I need to
be able to get the sum of the fees and wehen I try to use the sum function,
it gives me $0. *How do extract the value out of the cell and total the
numbers? I tried doing an a1=a2 and even though the a2 column is showing a
number without the function formula, it still is not ttreating the numbers as
values and will not sum them.

Sample of my table below:

Code * *Outcome Fee

3 * * * LATE CANCELLATION * * * 150
1 * * * HALF DAY * * * *150
4 * * * PARKING 75
2 * * * FULL DAY * * * *300


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Created IF functions - Need sum of results

It's for an invoice, so I need it total the numbers for all the variables I
was originally trying to use the formula IF(a2=Half Day,"$150",IF(a2=Full
Day,"$300",IF(a2=LATE CANCELLATION,"$150"))) There were two problems with
this. First, it wasn't recognizing the text as a Logical Test. When I
reversed and used the numbers for a logical test, then the formula worked,
but I couldn't use it casue the 150 biling amount is applicable in two
instances.

I then created a code vale. the 1,2,3 and made the IF formulas based on
those. IF(a1=1,"Half Day",IF(a1=2,"Full Day",IF(a1=3,"Late Cancellation")))
for column b and a1=1,"$150 etc....for columc C. Now I need for the
numbers in colomn c to total, but they are not being recognized as
independent values.

:( very frustrated i hope that better explains what I was trying to do.

"JP" wrote:

I'm not clear on what you need, could it be

=SUMIF(B:B,"LATE CANCELLATION",C:C)

In other words, "look for the words LATE CANCELLATION in column B and
add up the corresponding values in column C"

This would give you a sum total of all the late cancellation fees.

HTH,
JP

(ps- You should probably adjust the ranges to account for your real
data.)


On Jan 8, 9:09 pm, TMH0522 wrote:
I created IF functions for both the outcome and fee columns. Now I need to
be able to get the sum of the fees and wehen I try to use the sum function,
it gives me $0. How do extract the value out of the cell and total the
numbers? I tried doing an a1=a2 and even though the a2 column is showing a
number without the function formula, it still is not ttreating the numbers as
values and will not sum them.

Sample of my table below:

Code Outcome Fee

3 LATE CANCELLATION 150
1 HALF DAY 150
4 PARKING 75
2 FULL DAY 300



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 510
Default Created IF functions - Need sum of results

Hi

The formula (for column B???) must be like:
=IF(a2="Half Day",150,IF(a2="Full Day",300,IF(a2="LATE
CANCELLATION",150,0)))


--
Arvi Laanemets
( My real mail address: arvi.laanemets<attarkon.ee )


"TMH0522" wrote in message
...
It's for an invoice, so I need it total the numbers for all the variables
I
was originally trying to use the formula IF(a2=Half Day,"$150",IF(a2=Full
Day,"$300",IF(a2=LATE CANCELLATION,"$150"))) There were two problems with
this. First, it wasn't recognizing the text as a Logical Test. When I
reversed and used the numbers for a logical test, then the formula worked,
but I couldn't use it casue the 150 biling amount is applicable in two
instances.

I then created a code vale. the 1,2,3 and made the IF formulas based on
those. IF(a1=1,"Half Day",IF(a1=2,"Full Day",IF(a1=3,"Late
Cancellation")))
for column b and a1=1,"$150 etc....for columc C. Now I need for the
numbers in colomn c to total, but they are not being recognized as
independent values.

:( very frustrated i hope that better explains what I was trying to do.

"JP" wrote:

I'm not clear on what you need, could it be

=SUMIF(B:B,"LATE CANCELLATION",C:C)

In other words, "look for the words LATE CANCELLATION in column B and
add up the corresponding values in column C"

This would give you a sum total of all the late cancellation fees.

HTH,
JP

(ps- You should probably adjust the ranges to account for your real
data.)


On Jan 8, 9:09 pm, TMH0522 wrote:
I created IF functions for both the outcome and fee columns. Now I
need to
be able to get the sum of the fees and wehen I try to use the sum
function,
it gives me $0. How do extract the value out of the cell and total the
numbers? I tried doing an a1=a2 and even though the a2 column is
showing a
number without the function formula, it still is not ttreating the
numbers as
values and will not sum them.

Sample of my table below:

Code Outcome Fee

3 LATE CANCELLATION 150
1 HALF DAY 150
4 PARKING 75
2 FULL DAY 300





  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default Created IF functions - Need sum of results

What are the formulae that you are using, you might be creating text not
number results.

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"TMH0522" wrote in message
...
I created IF functions for both the outcome and fee columns. Now I need to
be able to get the sum of the fees and wehen I try to use the sum
function,
it gives me $0. How do extract the value out of the cell and total the
numbers? I tried doing an a1=a2 and even though the a2 column is showing a
number without the function formula, it still is not ttreating the numbers
as
values and will not sum them.

Sample of my table below:

Code Outcome Fee

3 LATE CANCELLATION 150
1 HALF DAY 150
4 PARKING 75
2 FULL DAY 300





Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Obtaining Multiple Results Using Index/Match Functions Archie999 Excel Worksheet Functions 1 March 3rd 07 07:57 AM
I created a Formula, OK, but can't get the results in the right ce To Old To . . . Excel Worksheet Functions 8 February 18th 07 06:59 AM
Applying functions to web query results ExcelTina Excel Discussion (Misc queries) 0 November 29th 06 10:36 PM
Database Functions - Strange results Bob Excel Worksheet Functions 3 June 8th 06 08:48 PM
functions are not displaying the results [email protected] Excel Worksheet Functions 1 February 16th 06 01:27 PM


All times are GMT +1. The time now is 12:28 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"