A Microsoft Excel forum. ExcelBanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » ExcelBanter forum » Excel Newsgroups » Excel Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Lottery Check with Winnings



 
 
Thread Tools Display Modes
  #1  
Old July 25th 12, 08:54 PM
sldfghtrike sldfghtrike is offline
Junior Member
 
First recorded activity by ExcelBanter: Jul 2012
Posts: 7
Default Lottery Check with Winnings

so I have this sheet that I'm working on in which it will highlight which numbers you've matched. My main problem that I am having is that I also want it to tell you how much you've won. Anybody care to look at it and see where the problem may be coming from.
Attached Files
File Type: zip lotto.zip (9.9 KB, 18 views)
Ads
  #2  
Old July 25th 12, 09:43 PM
sldfghtrike sldfghtrike is offline
Junior Member
 
First recorded activity by ExcelBanter: Jul 2012
Posts: 7
Default

Quote:
Originally Posted by sldfghtrike View Post
so I have this sheet that I'm working on in which it will highlight which numbers you've matched. My main problem that I am having is that I also want it to tell you how much you've won. Anybody care to look at it and see where the problem may be coming from.
also, I should make it clear that I am referring to my "Winnings" column
  #3  
Old July 25th 12, 10:06 PM
Spencer101 Spencer101 is offline
Senior Member
 
First recorded activity by ExcelBanter: Mar 2012
Posts: 654
Default

Quote:
Originally Posted by sldfghtrike View Post
also, I should make it clear that I am referring to my "Winnings" column
Hi,

See attached.
Because the numbers showing how many matches (G5:H14) are generated by formulas, wrapping those references in VALUE() fixes the problem.

However, I've also included another worksheet that shows how I would do it personally. It involves one helper column that can be hidden and a MUCH shorter formula.

Hope that helps.

S
Attached Files
File Type: zip lotto.zip (12.9 KB, 25 views)
  #4  
Old July 25th 12, 10:31 PM
sldfghtrike sldfghtrike is offline
Junior Member
 
First recorded activity by ExcelBanter: Jul 2012
Posts: 7
Post

Quote:
Originally Posted by Spencer101 View Post
Hi,

See attached.
Because the numbers showing how many matches (G5:H14) are generated by formulas, wrapping those references in VALUE() fixes the problem.

However, I've also included another worksheet that shows how I would do it personally. It involves one helper column that can be hidden and a MUCH shorter formula.

Hope that helps.

S
Thanks for explaining that VALUE function, you made it do exactly what I wanted

Also, I looked at your formula, that is much easier, I also learned what vlookup does, that is one very helpful function

Thanks a lot for your help.
  #5  
Old July 25th 12, 10:34 PM
Spencer101 Spencer101 is offline
Senior Member
 
First recorded activity by ExcelBanter: Mar 2012
Posts: 654
Default

Quote:
Originally Posted by sldfghtrike View Post
Thanks for explaining that VALUE function, you made it do exactly what I wanted

Also, I looked at your formula, that is much easier, I also learned what vlookup does, that is one very helpful function

Thanks a lot for your help.
Pleasure is all mine. Glad to help
  #6  
Old July 26th 12, 09:55 PM posted to microsoft.public.excel.worksheet.functions
Jackson[_3_]
external usenet poster
 
Posts: 4
Default Lottery Check with Winnings

sldfghtrike wrote:
> sldfghtrike;1604009 Wrote:
>> so I have this sheet that I'm working on in which it will highlight
>> which numbers you've matched. My main problem that I am having is that I
>> also want it to tell you how much you've won. Anybody care to look at it
>> and see where the problem may be coming from.

>
> also, I should make it clear that I am referring to my "Winnings" column
>
>
> +-------------------------------------------------------------------+
> +-------------------------------------------------------------------+
>
>
>


This works for me as a conditional format,
=NOT(ISERROR(HLOOKUP(D6,B3:G3,1,FALSE)))

Insert appropriate cell locations and then pick your font color when the
condition is true.

HTH
 




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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
check against a lottery database PAULGOR Excel Discussion (Misc queries) 6 December 8th 09 09:04 PM
Is there a template to double check Lottery scratcher tickets? lkn4bearbud Excel Discussion (Misc queries) 1 April 18th 09 08:08 AM
Lottery smason Excel Discussion (Misc queries) 13 August 21st 08 11:45 PM
Lottery check Ron New Users to Excel 13 September 15th 06 02:13 AM
how do i use excel to check my lottery numbers pat07734 Excel Programming 4 April 17th 05 07:02 PM


All times are GMT +1. The time now is 11:46 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright ©2004-2013 ExcelBanter.
The comments are property of their posters.