Smartgambler
Pro-Punter

Go Back   OZmium Sports Betting and Horse Racing Forums > Public Forums > Horse Race Betting Systems
User Name
Password
Register FAQ Search Today's Posts Mark all topics as read

To advertise on these
forums, e-mail us.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 18th August 2005, 08:11 AM
Twodogs Twodogs is offline
Member
 
Join Date: Jan 1970
Posts: 221
Talking Excel formula help please

Good Morning

Could some one help me out with a formula please?

I have 8 columns of numbers 0 to 24 , I want to add a column and it will total the number of columns that a value 1 to 3 is found!! Another words if all 8 columns have a number 1 to 3 in them it will give me a value of 8 in my 9th column.

Thanks
Twodogs
Reply With Quote
  #2  
Old 18th August 2005, 10:47 AM
SeeDee SeeDee is offline
Member
 
Join Date: Apr 2005
Posts: 39
Default Twodogs

There's probably a better way, but I would add a field at the bottom of each column with a flag identifying if the column has 1, 2 or 3 in it. Then simply total the row. For instance A26 would contain "=if(countif(A1:A24,"<4"),1,0)". Copy this thru remaining 7 columns (B:H)

The 9th column (say I26) would contain a field with "=SUM(A26:H26)"

I am sure there is a more elegant method but this will work.

Good luck.

Last edited by SeeDee : 18th August 2005 at 11:05 AM.
Reply With Quote
  #3  
Old 18th August 2005, 10:55 AM
Soho Soho is offline
Member
 
Join Date: Apr 2005
Posts: 3
Default

Twodogs

This one should work for you. To run the formula, make sure you hold down ctrl+shift and then hit enter.

=SUM(IF(A1:H1>0,IF(A1:H1<=3,1,0),0))


Soho
Reply With Quote
  #4  
Old 18th August 2005, 11:06 AM
Twodogs Twodogs is offline
Member
 
Join Date: Jan 1970
Posts: 221
Default

Sorry Soho

It doesn't seem to work

Twodogs
Reply With Quote
  #5  
Old 18th August 2005, 11:10 AM
Twodogs Twodogs is offline
Member
 
Join Date: Jan 1970
Posts: 221
Default

Thanks SeeDee

I was hoping to do it via one formula if possible!! Maybe it isn't!!

Twodogs
Reply With Quote
  #6  
Old 18th August 2005, 11:19 AM
SeeDee SeeDee is offline
Member
 
Join Date: Apr 2005
Posts: 39
Default

No Twodogs. If a column has say 1 AND 2 in it you would add two to your total (or worse, three), when I think you would be looking for one.
Reply With Quote
  #7  
Old 18th August 2005, 11:27 AM
Twodogs Twodogs is offline
Member
 
Join Date: Jan 1970
Posts: 221
Default

SeeDee,

I have about 450 rows of data and I just want to isolate 8 columns for closer inspection. Thanks for your help

Twodogs
Reply With Quote
  #8  
Old 18th August 2005, 12:31 PM
Soho Soho is offline
Member
 
Join Date: Apr 2005
Posts: 3
Default

Twodogs

If all you want is a simple count of how many columns from A-H contain 1,2 or 3, the formula I sent before will work. Are you after a count or a sum/total?
After using ctrl+shift enter the formula will appear like this....
****=SUM(IF(A1:H1>0,IF(A1:H1<=3,1,0),0))****

Soho
Reply With Quote
  #9  
Old 18th August 2005, 01:03 PM
Twodogs Twodogs is offline
Member
 
Join Date: Jan 1970
Posts: 221
Default

Soho

Just a count. Another words a column that has the total number time 1 to 3 appeared in the previous 8 columns

Twodogs
Reply With Quote
  #10  
Old 18th August 2005, 06:34 PM
Zlotti Zlotti is offline
Suspended. Invalid e-mail address.
 
Join Date: Jan 1970
Posts: 93
Default

Quote:
Originally Posted by Twodogs
Soho

Just a count. Another words a column that has the total number time 1 to 3 appeared in the previous 8 columns

Twodogs

The formula is working in column 9, isolate your data into your 8 required columns and then cut and paste the formula from this sheet to yours.

The second tab is showing the formula only.

Hope it helps!
Attached Files
File Type: xls Two Dogs.xls (23.0 KB, 622 views)
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is On
Forum Jump



All times are GMT +10. The time now is 09:27 AM.


Powered by: vBulletin Version 3.0.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
©2008 OZmium Pty. Ltd. All rights reserved . ACN 091184655