# Function Question

#### robbiev

##### New Member
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....

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.

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?

it worked! thanks!

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)

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.

Replies
4
Views
349
Replies
4
Views
238
Replies
1
Views
119
Replies
2
Views
153
Replies
8
Views
323

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.

### Which adblocker are you using?

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

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