Function Question

robbiev

New Member
Joined
Sep 9, 2002
Messages
38
In this function, how do I tell excel to look for any real number, instead of a spacific number.

=SUMIF(C2:C999,"ANY REAL NUMBER",E2:E999)

Thanks :) Robbie
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
care to give an example? I take it from your previous posts you don't mean "real" in the mathematical sense of real numbers....

paddy
 
Upvote 0
Heh...actually, I think I do mean an actual real number, in the math sence...um, any whole number such as 0, 3, 140, 2000, etc.
:)
 
Upvote 0
On 2002-09-11 22:24, robbiev wrote:
In this function, how do I tell excel to look for any real number, instead of a spacific number.

=SUMIF(C2:C999,"ANY REAL NUMBER",E2:E999)

Thanks :) Robbie

You can't as such... but

=SUMPRODUCT(ISNUMBER(C2:C999)+0,E2:E999)

would.

What are you trying to accomplish?
 
Upvote 0
On 2002-09-11 22:28, robbiev wrote:
Heh...actually, I think I do mean an actual real number, in the math sence...um, any whole number such as 0, 3, 140, 2000, etc.
:)

E.g.:

=SUMPRODUCT((F3:F5-INT(F3:F5)=0)+0,G3:G5)
 
Upvote 0
On 2002-09-11 22:28, robbiev wrote:
Heh...actually, I think I do mean an actual real number, in the math sence...um, any whole number such as 0, 3, 140, 2000, etc.
:)

Aladin beat me to it, but just FYI, the reals include the irrational numbers, which are non-repeating / nonterminating decimals. The set of real numbers is not co-extensive with the set of integers.

Paddy
 
Upvote 0

Forum statistics

Threads
1,216,487
Messages
6,130,946
Members
449,608
Latest member
jacobmudombe

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top