Free £25 Bet!
Free £50 Bet at VCBet!
Free £25 Bet!

In association with Sports-Punter Free Bets Odds Comparison BetHelp Limso

We are the Official Forum of FreeBetting.net & FCBet.com


Sports News Sports Stats Live Scores OddsChecker Place Bets Suggest a Site


Go Back   The Punters Lounge - The World's Best Betting Forum > General Discussion > Tech & Gaming Forum

Tech & Gaming Forum This is the place for all your technical related questions about computers, programs or whatever...

Free £25 Bet at Jaxx!
UK & Irish Football Forum | Western European Football Forum | UEFA Cup & Champions League Football Forum | International Football Forum | Eastern & Southern European Football Forum | Nordic & Scandinavian Football Forum | Non European Football Forum | At The Races Forum | At The Races Systems Forum | Other Sports Forum | USA Sports Forum | Fantasy & Fun Comps Forum | Free Bets Forum | Systems & Strategy Forum | Glory Hunter's Forum | Tipster's Challenge Forum | Daily Racing Comp Forum | Euro & Worldwide Comp Forum | Poker Tourneys Forum | Poker Strategy Forum | Poker Chat Forum | Poker Live Forum | Poker Challenges Forum | Poker Staking Forum | e-Sport Poker League Forum | Bookmakers & Exchanges Forum | Punter's Tools/Betting Help Forum | General Chat Forum | Tech & Gaming Forum | Sports Banter Forum | Live Sports Feeds Forum

Reply
 
Thread Tools Display Modes
Old 20-10-2006, 16:16   #1 (permalink)
Dedicated dons punter
 
Join Date: 19 May 2006
Posts: 5,549
Awards Showcase
Poker Monthly Spoon 
Total Awards: 1
Default Microsoft Excel help

I am trying to make a horses to follow list on MS Excel. I am importing an A-Z of runners into the document and trying to do a match up formula if you know what I mean. e.g. IF(A1=sheet2!A5,"YES","") or something like that. However due to there being over 200 horses most days what I want to know is: Instead of doing a formula for IF A1=A2,A3,A4,A5. Is there an OR formula I can use to work out if a cell equals any of the cells in a large range. Help much appreciated as I dont want to type out this long list of 200 or 300 cells with commas. I tried doing this with dragging down through the range but I assume this checks if the 1 cell equals all of the selected cells. I hope you understand and I appreciate any help from the computer geniuses on here.

Thanks
stewartd14 is online now   Reply With Quote
Old 20-10-2006, 16:53   #2 (permalink)
theunknown
 
chiqo's Avatar
 
Join Date: 18 Aug 2006
Location: europe
Posts: 957
Default Re: Microsoft Excel help

Don“t understand this .. sry

What would you do with this list? You wanna evince if a horse is in the race or what?

Your formula IF(A1=sheet2!A5,"YES","") shows the content cell A5 on sheet2 if there is a "YES" in this cell.If not there“s nothing in.

This kind of formula isn“t possible with if/then

Quote:
Instead of doing a formula for IF A1=A2,A3,A4,A5
Because you built the form only with 1 operation .. I think ..
__________________
www.gamblers-delight.de
chiqo is offline   Reply With Quote
Old 20-10-2006, 16:54   #3 (permalink)
God Punter
 
Join Date: 18 Jun 2005
Posts: 32,457
Awards Showcase
Tipsters Challenge Oscars Poker Monthly League Champion BPP 
Total Awards: 4
Default Re: Microsoft Excel help

So if a horse in one sheet is listed in another sheet, then you want to say "Yes", otherwise leave it blank?

Looks like a vlookup may be your best bet, combined with an ISERROR something along the lines of:

=IF(ISERROR(VLOOKUP(A2,Sheet2!A:A,1,FALSE)),"","YES")

If your list of horses is:

B
G
H


Then this gives this output:

Horse
A
BYES
C
D
E
F
GYES
HYES
I
J
K
L


Is that what you're after?
GotaFancy? is online now   Reply With Quote
Old 20-10-2006, 17:05   #4 (permalink)
Dedicated dons punter
 
Join Date: 19 May 2006
Posts: 5,549
Awards Showcase
Poker Monthly Spoon 
Total Awards: 1
Default Re: Microsoft Excel help

Precisely Gotafancy. An excellent help m8. However, I do not understand how to change the formula into the range I have got. If I had a list of say 300 horses on sheet 1 from cells A2:A301. I then have a list of all the runners on sheet 2. Say cells A1:A1001. How would the formula be. If you do not understand can you please give me an email address and I will send you a copy of the document. Many, many thanks once again.
stewartd14 is online now   Reply With Quote
Old 20-10-2006, 17:10   #5 (permalink)
God Punter
 
Join Date: 18 Jun 2005
Posts: 32,457
Awards Showcase
Tipsters Challenge Oscars Poker Monthly League Champion BPP 
Total Awards: 4
Default Re: Microsoft Excel help

=IF(ISERROR(VLOOKUP(A2,Sheet2!$A$1:$A$1001,1,FALSE )),"","YES")

I think if you put this in cell B2 of Sheet 1 it should work (and copy it down to cell B301).

You can see my email address to the left (MSN contact - dont use MSN much, but do use the email addy)
GotaFancy? is online now   Reply With Quote
Old 20-10-2006, 17:39   #6 (permalink)
Dedicated dons punter
 
Join Date: 19 May 2006
Posts: 5,549
Awards Showcase
Poker Monthly Spoon 
Total Awards: 1
Default Re: Microsoft Excel help

Excellent. You have been a great help Gotafancy and the formula is now working fine. Many thanks.
stewartd14 is online now   Reply With Quote
Old 20-10-2006, 18:28   #7 (permalink)
theunknown
 
chiqo's Avatar
 
Join Date: 18 Aug 2006
Location: europe
Posts: 957
Default Re: Microsoft Excel help

I“m interessting in the operations "VLookup" and "ISERROR" .. what they do?

thanks
__________________
www.gamblers-delight.de
chiqo is offline   Reply With Quote
Old 20-10-2006, 18:42   #8 (permalink)
God Punter
 
Join Date: 18 Jun 2005
Posts: 32,457
Awards Showcase
Tipsters Challenge Oscars Poker Monthly League Champion BPP 
Total Awards: 4
Default Re: Microsoft Excel help

VLOOKUP (Vertical lookup) looks up a value from within a list.

So VLOOKUP(A2,Sheet2!$A$1:$A$1001,1,FALSE)

says to find the value in cell A2 from within the list in the range A1 to A1001, returning the first column (which is itself - column 2 or larger would return something different, according to the range it is looking up from). The FALSE on the end just tells it to find the exact value (and not the "nearest" value).

ISERROR(blahblah) basically asks the question, is "blahblah" correct or do we have an error. It returns either TRUE or FALSE. So with the example of the VLOOKUP, if it cannot find the value it will return an error (#N/A), if it can find the value, it returns the name of the horse.

So the statement is (in english) If the horse we're looking for is not in the list (an error is returned) then display nothing ("") otherwise display "Yes".

Generally I find the Excel help very good - it will probably explaing ISERROR and VLOOKUP far clearer than I have done :ok
GotaFancy? is online now   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
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



All times are GMT. The time now is 18:27.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

Free £100 Bet!
Online Bookmakers
Free £100 Bet!

Recommended Bookies: Bet365 | BetDirect | Betfred | Blue Square | Canbet | Centrebet | Coral | Eurobet | Ladbrokes | Paddy Power | Party Bets | Pinnacle Sports | Skybet | SportingBet | Stan James | ToteSport | VCBet

Recommended Betting Exchanges: | Betfair | WBX

Recommended for Spread Betting: Sporting Index |
Partner Sites
Football Betting Tips Australian Free Bet Offers HOT Free Bets HOT Odds Comparison BetDevil
Soccer Punter Free Betting Tips Free Online Bets BetPortfolio SFstats
TotalFootballPredict 1Picks Footy Yield

Contact Us | Disclaimer


© 2008 PuntersLounge.Com Ltd | Gambling Problems?

Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.