Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
HR
 
Posts: n/a
Default Total rows w/$, NA, Included

I am trying to calculate a number in a "total" cell, but some of the cells
I'm using in the calculation contain $0.00, "NA", "Included", "TBD". I asked
this question before and got an excellent response, but then I only had the
words "included". I can't seem to manipulate the formula to work when a row
has more than one word (NA, Included, TBD).

Here's what I'm using:
=sum(if(D5="included",0,D5)*4)+if(B55="included",0 ,B55).

I need to modify this so it will work if what's in the "included" part is
included, NA, or TBD.

Can anyone help me with this!?
  #2   Report Post  
Posted to microsoft.public.excel.misc
mr_teacher
 
Posts: n/a
Default Total rows w/$, NA, Included


Hi,
Not an expert in these matters but I think I had a similar problem to
yourself and solved it using this formula

=sum(if(or(d5="included",d5="NA",d5="TBD"),0,d5)*4 )+if(or(b55="included",b55="NA",b55="TBD"),0,B55)

You can add as many words as you like within the OR pattern, just keep
on following the same design.

Hope that is of some help - or at least not messed you up even more!1
:)

Regards

Carl


HR Wrote:
I am trying to calculate a number in a "total" cell, but some of the
cells
I'm using in the calculation contain $0.00, "NA", "Included", "TBD". I
asked
this question before and got an excellent response, but then I only had
the
words "included". I can't seem to manipulate the formula to work when
a row
has more than one word (NA, Included, TBD).

Here's what I'm using:
=sum(if(D5="included",0,D5)*4)+if(B55="included",0 ,B55).

I need to modify this so it will work if what's in the "included" part
is
included, NA, or TBD.

Can anyone help me with this!?



--
mr_teacher
------------------------------------------------------------------------
mr_teacher's Profile: http://www.excelforum.com/member.php...o&userid=34352
View this thread: http://www.excelforum.com/showthread...hreadid=541313

  #3   Report Post  
Posted to microsoft.public.excel.misc
HR
 
Posts: n/a
Default Total rows w/$, NA, Included

Thank you so much! That worked! These formulas are so picky - I tried this
a number of ways, but didn't include the (or( after the IF! Thanks again.

"HR" wrote:

I am trying to calculate a number in a "total" cell, but some of the cells
I'm using in the calculation contain $0.00, "NA", "Included", "TBD". I asked
this question before and got an excellent response, but then I only had the
words "included". I can't seem to manipulate the formula to work when a row
has more than one word (NA, Included, TBD).

Here's what I'm using:
=sum(if(D5="included",0,D5)*4)+if(B55="included",0 ,B55).

I need to modify this so it will work if what's in the "included" part is
included, NA, or TBD.

Can anyone help me with this!?

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
Pivot table for reporting sales performance Ram Excel Discussion (Misc queries) 2 February 6th 06 10:06 AM
matching the column b(sku)c(count)with A sammc2 Excel Worksheet Functions 0 November 3rd 05 07:42 PM
formula to use when number of rows changes dynamically confused Excel Worksheet Functions 3 August 17th 05 03:55 PM
Subtract several rows from a total LMB New Users to Excel 5 April 6th 05 10:33 PM
Deleting rows containing common data gcotterl Excel Discussion (Misc queries) 1 January 4th 05 12:58 AM


All times are GMT +1. The time now is 08:00 AM.

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"