formula question

M

Mel

Hi,
Well I've looked in my excel books and I have excel for dummies (and yes I
need it) :), I am sure there must be a way and have tried several things
hoping to hit on the right one.
I want a result in one cell, reliant upon two different cells having a
$amount over zero. I tried this formula but it only comes back with the word
"true" or "false" and only works for one cell with an amount over zero.
=OR((D4>0)*(G4>0),'TDBonus'!K3,0). In other words if D4 is more than zero or
G4 is more than zero, then I want the cell to display what is on another
sheet at K3, and if D4 and G4 are both zero then nothing will be displayed
in the cell. K3 on the sheet named "Bonus" has the letter"N" in it, so I
want the "N' to appear in the cell. D4 and G4 are dollar values if they have
anything in them. i.e. $45.00. I would appreciate any help.

Mel
 
B

Bill Ridgeway

Mel,

Your formula was -
=OR((D4>0)*(G4>0),'TDBonus'!K3,0)

Try -

=IF(OR(D4>0,G4>0),'TDBonus'!K3,0)
(I haven't tested this fully)

Regards.

Bill Ridgeway
Computer Solutions
 
D

Dave Peterson

I would think that this would be more "natural":
=if(or(d4>0,g4>0),'TDBonus'!k3,0)

If both D4 and G4 had to be larger than 0:
=if(and(d4>0,g4>0),'TDBonus'!k3,0)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

date & day formatting 2
Time format? 1
Question about a formula 2
Conditional Formatting - Date Initiated 6
Update date in one cell when any cell in a range is modified 5
When Nothing is Entered 1
VBA? 1
VBA? 3

Top