Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Connie Martin
 
Posts: n/a
Default SUMPRODUCT (Again!)

Another simple one, I'm sure. I have this simple formula: =I28+7

I want to add to this that it's to add 14 if "TBG" is found in E28:E500,
otherwise add only 7.

Connie
  #2   Report Post  
JE McGimpsey
 
Posts: n/a
Default

One way:

=I28 + 7 + 14*(COUNTIF(E28:E500,"TBG")0)

If TBG is a partial match, use

"*TBG*"

instead.

In article ,
"Connie Martin" wrote:

Another simple one, I'm sure. I have this simple formula: =I28+7

I want to add to this that it's to add 14 if "TBG" is found in E28:E500,
otherwise add only 7.

Connie

  #3   Report Post  
Don Guillett
 
Posts: n/a
Default

how about
=l28+if(countif(e28:e500,"TBG")0,14,7)
or
l28+7+if(countif(e28:e500,"TBG")0,7,0)

--
Don Guillett
SalesAid Software

"Connie Martin" wrote in message
...
Another simple one, I'm sure. I have this simple formula: =I28+7

I want to add to this that it's to add 14 if "TBG" is found in E28:E500,
otherwise add only 7.

Connie



  #4   Report Post  
Connie Martin
 
Posts: n/a
Default

The formulas you have given are adding too many days (21 and 14) where TBG is
not in E28:E500.

Perhaps I didn't explain myself well enough. I28 is a date and in M28 I
want a date that's 7 days later than I28, but if E28 says "TBG" then I want
M28 to add 14 days. If E28 says anything else it's to add only 7 days in M28.

Connie


"Connie Martin" wrote:

Another simple one, I'm sure. I have this simple formula: =I28+7

I want to add to this that it's to add 14 if "TBG" is found in E28:E500,
otherwise add only 7.

Connie

  #5   Report Post  
Frank Kabel
 
Posts: n/a
Default

Hi
try
=I28+7+7*(E28="TBG")

--
Regards
Frank Kabel
Frankfurt, Germany
"Connie Martin" schrieb im
Newsbeitrag ...
The formulas you have given are adding too many days (21 and 14) where TBG
is
not in E28:E500.

Perhaps I didn't explain myself well enough. I28 is a date and in M28 I
want a date that's 7 days later than I28, but if E28 says "TBG" then I
want
M28 to add 14 days. If E28 says anything else it's to add only 7 days in
M28.

Connie


"Connie Martin" wrote:

Another simple one, I'm sure. I have this simple formula: =I28+7

I want to add to this that it's to add 14 if "TBG" is found in E28:E500,
otherwise add only 7.

Connie





  #6   Report Post  
Connie Martin
 
Posts: n/a
Default

Thank you! That did it. So, one doesn't use SUMPRODUCT here! No wonder I
get nowhere with these formulas! Ha! :) Have a nice day, or is it evening
in Germany now? It's just noon here in Canada now.

Connie


"Frank Kabel" wrote:

Hi
try
=I28+7+7*(E28="TBG")

--
Regards
Frank Kabel
Frankfurt, Germany
"Connie Martin" schrieb im
Newsbeitrag ...
The formulas you have given are adding too many days (21 and 14) where TBG
is
not in E28:E500.

Perhaps I didn't explain myself well enough. I28 is a date and in M28 I
want a date that's 7 days later than I28, but if E28 says "TBG" then I
want
M28 to add 14 days. If E28 says anything else it's to add only 7 days in
M28.

Connie


"Connie Martin" wrote:

Another simple one, I'm sure. I have this simple formula: =I28+7

I want to add to this that it's to add 14 if "TBG" is found in E28:E500,
otherwise add only 7.

Connie




  #7   Report Post  
Frank Kabel
 
Posts: n/a
Default

Hi Connie
good it works for you :-)
Frank
P.S.: it's around 6pm here in Germany on a quite nice winter day. Time to
buy some presents...

--
Regards
Frank Kabel
Frankfurt, Germany
"Connie Martin" schrieb im
Newsbeitrag ...
Thank you! That did it. So, one doesn't use SUMPRODUCT here! No wonder
I
get nowhere with these formulas! Ha! :) Have a nice day, or is it
evening
in Germany now? It's just noon here in Canada now.

Connie


"Frank Kabel" wrote:

Hi
try
=I28+7+7*(E28="TBG")

--
Regards
Frank Kabel
Frankfurt, Germany
"Connie Martin" schrieb im
Newsbeitrag ...
The formulas you have given are adding too many days (21 and 14) where
TBG
is
not in E28:E500.

Perhaps I didn't explain myself well enough. I28 is a date and in M28
I
want a date that's 7 days later than I28, but if E28 says "TBG" then I
want
M28 to add 14 days. If E28 says anything else it's to add only 7 days
in
M28.

Connie


"Connie Martin" wrote:

Another simple one, I'm sure. I have this simple formula: =I28+7

I want to add to this that it's to add 14 if "TBG" is found in
E28:E500,
otherwise add only 7.

Connie






  #8   Report Post  
Connie Martin
 
Posts: n/a
Default

Have a safe and happy holiday season. Thank you for all your help this past
year.

Connie Martin
Canada

"Frank Kabel" wrote:

Hi Connie
good it works for you :-)
Frank
P.S.: it's around 6pm here in Germany on a quite nice winter day. Time to
buy some presents...

--
Regards
Frank Kabel
Frankfurt, Germany
"Connie Martin" schrieb im
Newsbeitrag ...
Thank you! That did it. So, one doesn't use SUMPRODUCT here! No wonder
I
get nowhere with these formulas! Ha! :) Have a nice day, or is it
evening
in Germany now? It's just noon here in Canada now.

Connie


"Frank Kabel" wrote:

Hi
try
=I28+7+7*(E28="TBG")

--
Regards
Frank Kabel
Frankfurt, Germany
"Connie Martin" schrieb im
Newsbeitrag ...
The formulas you have given are adding too many days (21 and 14) where
TBG
is
not in E28:E500.

Perhaps I didn't explain myself well enough. I28 is a date and in M28
I
want a date that's 7 days later than I28, but if E28 says "TBG" then I
want
M28 to add 14 days. If E28 says anything else it's to add only 7 days
in
M28.

Connie


"Connie Martin" wrote:

Another simple one, I'm sure. I have this simple formula: =I28+7

I want to add to this that it's to add 14 if "TBG" is found in
E28:E500,
otherwise add only 7.

Connie






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
Sumproduct ... Empty Cells vs Spaces? Ken Excel Discussion (Misc queries) 9 December 17th 04 08:03 PM
Sumif not Sumproduct David Excel Worksheet Functions 4 December 8th 04 11:39 AM
Sumproduct function not working Scott Summerlin Excel Worksheet Functions 12 December 4th 04 05:15 AM
adding two sumproduct formulas together ski2004_2005 Excel Worksheet Functions 1 November 12th 04 09:08 PM
SUMPRODUCT using offset from ROW if X marks the spot The Shaffer s Excel Worksheet Functions 3 November 2nd 04 06:14 AM


All times are GMT +1. The time now is 08:09 PM.

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

About Us

"It's about Microsoft Excel"