Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Ken M.
 
Posts: n/a
Default What's wrong with this formula?

This is my combo of Bob and Aladin. Yet still not working. Where is my error?

=SUMIF(--(J2:J250=TODAY()+29)&I2:I250<=.01)

Walking through this in baby steps...

In cell T3 I am asking Excel to... Sum if J2-J250 is Today or plus the next
29 days and I20-I250 has a dollar amount greater than or equal to a penny.

Is that not what I am doing? REALLY STUCK GUYS! Thanks for the continued
help.

Ken

  #2   Report Post  
Biff
 
Posts: n/a
Default

Hi!

Try this:

=SUMPRODUCT(--(J2:J250=TODAY()+29),--(I2:I250<=.01))

This will COUNT the number of times where both conditions
are true. If you want a SUM, you need another argument.

Biff

-----Original Message-----
This is my combo of Bob and Aladin. Yet still not

working. Where is my error?

=SUMIF(--(J2:J250=TODAY()+29)&I2:I250<=.01)

Walking through this in baby steps...

In cell T3 I am asking Excel to... Sum if J2-J250 is

Today or plus the next
29 days and I20-I250 has a dollar amount greater than or

equal to a penny.

Is that not what I am doing? REALLY STUCK GUYS! Thanks

for the continued
help.

Ken

.

  #3   Report Post  
Biff
 
Posts: n/a
Default

Hold on there a second!

Ooops!

I just noticed this:

and I20-I250 has a dollar amount greater than or equal to
a penny.


So change the formula to:

=SUMPRODUCT(--(J2:J250=TODAY()+29),--(I2:I250=.01))

Biff

-----Original Message-----
Hi!

Try this:

=SUMPRODUCT(--(J2:J250=TODAY()+29),--(I2:I250<=.01))

This will COUNT the number of times where both conditions
are true. If you want a SUM, you need another argument.

Biff

-----Original Message-----
This is my combo of Bob and Aladin. Yet still not

working. Where is my error?

=SUMIF(--(J2:J250=TODAY()+29)&I2:I250<=.01)

Walking through this in baby steps...

In cell T3 I am asking Excel to... Sum if J2-J250 is

Today or plus the next
29 days and I20-I250 has a dollar amount greater than or

equal to a penny.

Is that not what I am doing? REALLY STUCK GUYS! Thanks

for the continued
help.

Ken

.

.

  #4   Report Post  
Ron Rosenfeld
 
Posts: n/a
Default

On Fri, 4 Feb 2005 20:11:02 -0800, Ken M.
wrote:

This is my combo of Bob and Aladin. Yet still not working. Where is my error?

=SUMIF(--(J2:J250=TODAY()+29)&I2:I250<=.01)

Walking through this in baby steps...

In cell T3 I am asking Excel to... Sum if J2-J250 is Today or plus the next
29 days and I20-I250 has a dollar amount greater than or equal to a penny.

Is that not what I am doing?


Nope.

The SUMIF function does not do multiple comparisons.

You've got your comparison operators backwards.
You are using a text concatenation operator (&) which doesn't do what you want
in a mathematical expression.

The double unary is unnecessary.

And you need some parenthesis to make the comparisons do what you want.

Try:

=SUMPRODUCT((J2:J250<=(TODAY()+29))*(I2:I250=0.01 )*I2:I250)


--ron
  #5   Report Post  
Ron Rosenfeld
 
Posts: n/a
Default

On Fri, 4 Feb 2005 20:52:34 -0800, "Biff" wrote:

o change the formula to:

=SUMPRODUCT(--(J2:J250=TODAY()+29),--(I2:I250=.01))


Ignore my message. I see you addressed SUM vs COUNT in your previous post.
But I think the OP wanted a SUM; perhaps not.


--ron


  #6   Report Post  
Ken M.
 
Posts: n/a
Default

Thanks Ron. The formula works PERFECTLY. I just input a huge test group of
easy number and double checked manually. After 30 days it excludes perfectly.
And give us a clear 30 days window on cash flow.

"Ron Rosenfeld" wrote:

On Fri, 4 Feb 2005 20:11:02 -0800, Ken M.
wrote:

This is my combo of Bob and Aladin. Yet still not working. Where is my error?

=SUMIF(--(J2:J250=TODAY()+29)&I2:I250<=.01)

Walking through this in baby steps...

In cell T3 I am asking Excel to... Sum if J2-J250 is Today or plus the next
29 days and I20-I250 has a dollar amount greater than or equal to a penny.

Is that not what I am doing?


Nope.

The SUMIF function does not do multiple comparisons.

You've got your comparison operators backwards.
You are using a text concatenation operator (&) which doesn't do what you want
in a mathematical expression.

The double unary is unnecessary.

And you need some parenthesis to make the comparisons do what you want.

Try:

=SUMPRODUCT((J2:J250<=(TODAY()+29))*(I2:I250=0.01 )*I2:I250)


--ron

  #7   Report Post  
Ron Rosenfeld
 
Posts: n/a
Default

On Fri, 4 Feb 2005 21:15:03 -0800, Ken M.
wrote:

Thanks Ron. The formula works PERFECTLY. I just input a huge test group of
easy number and double checked manually. After 30 days it excludes perfectly.
And give us a clear 30 days window on cash flow.


You're welcome. Glad to help and thank you for the feedback.


--ron
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
What wrong with VLOOKUP formula TARZAN Excel Worksheet Functions 2 January 31st 05 10:09 PM
Formula "=num.de.semana(Date,2or1)" is WRONG for 2005 MrExcel77 Excel Worksheet Functions 1 January 5th 05 07:13 PM
Formula Result Correct but value in the cell is wrong jac Excel Worksheet Functions 2 December 17th 04 08:05 PM
Paste is is copying in formula, but display is wrong. Matt Excel Discussion (Misc queries) 2 December 7th 04 08:37 PM
Paste is is copying in formula, but display is wrong. Matt Excel Worksheet Functions 2 December 7th 04 08:37 PM


All times are GMT +1. The time now is 09:24 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"