OZmium Sports Betting and Horse Racing Forums

OZmium Sports Betting and Horse Racing Forums (http://forums.ozmium.com.au/index.php)
-   General Topics (http://forums.ozmium.com.au/forumdisplay.php?f=59)
-   -   Excel help please?? (http://forums.ozmium.com.au/showthread.php?t=12749)

Punter76 7th March 2006 09:48 PM

Can anyone please help with this excel question too?

I have a whole heap of fomulas, example... A = B + C...

.. now if B + C has no text then I have a '0' everywhere, or many of them all over the page.

How do I stop these from appearing so that a number appears only when numbers are entered into the columns I am adding up?

Phew.. that was confusing :)

Shaun 7th March 2006 10:12 PM

Look at the fist cell that is referenced example in cel D1 we have a formula

=(A1+C1)/100
change it to this

=(If A1="","",(A1+C1)/100

to explain what it is doing

If A1 = nothing , then nothing , otherwise perform the formula

Punter76 7th March 2006 10:24 PM

Or.. options.. tick 'Hide zero values'.

I just found that one!

davez 7th March 2006 11:44 PM

Quote:
Originally Posted by Punter76
Or.. options.. tick 'Hide zero values'.

I just found that one!


yeh, but not real useful p76 when zeros are a required value within your spreadsheet, not recommended in other words

Twodogs 26th April 2006 07:28 AM

Good Morning Excel Champs,

Is it possible to have more than one IF?

What I want to do is look at 3 columns and IF they meet requirements I then perform a formula on a fourth column.

Is this where AND comes into the formula setup?

Thanks
Twodogs

xptdriver 26th April 2006 08:10 AM

Quote:
Originally Posted by Twodogs
Good Morning Excel Champs,

Is it possible to have more than one IF?

(snip)

Thanks
Twodogs


I am thinking I know the answer to this one... I think you can have up to 7 IF's.. tho the gurus will know for sure

La Mer 26th April 2006 08:11 AM

Quote:
Originally Posted by Twodogs
Good Morning Excel Champs,

Is it possible to have more than one IF?

What I want to do is look at 3 columns and IF they meet requirements I then perform a formula on a fourth column.

Is this where AND comes into the formula setup?

Thanks
Twodogs


You can have as many as seven IF's in any single formula. The AND can be used in conjunction with IF to test if two variables are met.

Here is one that I use in one of my programs:
=IF(AND(85<=Q4,Q5<=75),"A",IF(Q6<=75,"B",IF(AND(75>=Q6,Q7<=65),"C","D")))

Twodogs 26th April 2006 08:13 AM

=IF(AND(O7<2.5,Q7<35.2,U7>0),1,0)

I just tried the above formula but although the three columns meet criteria I still get 0 rather than a 1

Have I balls up somewhere?

Twodogs

Twodogs 26th April 2006 08:16 AM

Don't worry I just tried it again now it works. Beats me I didn't change anything??

Thanks guys

Twodogs

La Mer 26th April 2006 08:17 AM

Quote:
Originally Posted by Twodogs
=IF(AND(O7<2.5,Q7<35.2,U7>0),1,0)

I just tried the above formula but although the three columns meet criteria I still get 0 rather than a 1 Have I balls up somewhere? Twodogs


See my previous response, there is a formula shown there that I use in one of my programs.


All times are GMT +10. The time now is 06:49 PM.

Powered by: vBulletin Version 3.0.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.