asked on
What if Scenario User from
"What If" userform that would allow me to select a played draw/ unplayed draw and then allow to enter additional numbers after which it would show what I would have won based on the selected draw period and filter by time.
Workbook attached 29251693a.xlsb
ASKER
At that point would you like to be able to change one of those 4 numbers
Yes please .
Also I am assuming that I can type my own numbers in the blank cells?
But what if I did not play a draw and therefore is no data in the Record tab for that day.
How would the What if function or behave ?
Also I am assuming that I can type my own numbers in the blank cells?That's correct.
But what if I did not play a draw and therefore is no data in the Record tab for that day.I need to think about that.
ASKER
onI need to think about that.
Would that be the reason initially you were suggesting the WNR tab where data is available all the time?
But also remembering currently , the record tab is a record of actually played numbers.
Could I also play or input my own numbers as an op[tion
Would that be the reason initially you were suggesting the WNR tab where data is available all the time?I think that I suggested the Winning Number Frequency (WNF) tab a couple of times and not the WNR, but I realized as I was working on this question that I was thinking of the Prize Table tab which is a hidden tab and not the WNF.
If that is a yes, then the Userform could be placed in any tab, isn't it. ?Since each of your tabs is different each would need its own code and in a future question we can talk about that.
ASKER
Since each of your tabs is different each would need its own code and in a future question we can talk about that.
Ok sure
- Select the row you are interested in by clicking the row number (like row 68)
- Click the new 'What If' button
- Click the userform's 'Calculate Win' button
At any point you can change the values in the userform.
The 'Clear' button is available to clear all the values if for example if you want to experiment with an unplayed draw.
29251837.xlsb
ASKER
ASKER
But I have updated the workbook till 19 Dec22 at 10am
ASKER
I rechecked it is correct workbook name : 29251837
I did a server update till 18th Dec and then updated manually for 19th Morning today at 10am
File name for update till 18/12/22 till 6pm
9af99b82-7f1b-11ed-9753-005056819165.xlsx
Updated workbook attached 29251837v19Dec with WhatIf.xlsb
ASKER
29251837a.xlsb
ASKER
yes I did, but still shows 0, also there was no warning message on clicking What If
...also there was no warning message on clicking What IfThat's expected sice there is a WNR record for that row.
Let me make some changes that might fix your problem.
29251837b.xlsb
ASKER
row 93 , 10 am
ASKER
ASKER
Selection of Draw period and Time Filter?
How do I select the draw period and time filter to calculate the win for draw numbers 49 54 56 62 67 71 ?
I copied and pasted 19 times into the 10 am draw from 1Dec to 19 Dec and tried to select the draws that way and I got a pop up instead after clicking what if
I copied the above numbers till 19Dec 10am.
29251837b.xlsb
How do I select the draw period and time filter to calculate the win for draw numbers 49 54 56 62 67 71 ?As the message says, you need to select the whole row and not just the date.
ASKER
29251837b.xlsb , B workbook comes with an error in below picture
We might have to use your previous A workbook which did not have an error and works fine.
As the message says, you need to select the whole row and not just the date.
Yes I did select Row 3 to Row 93 and yet the message popped saying to select the row.
Do I select Row 3 , then Row 8, then Row 13 , etc 19 times. because those rows are for 10 am draw only .
Would it not be easier and fastest to have an option to select a Draw period in a userform with time filter ? and integrate the draw period userform with time filter into the What if userform ?
ASKER
One row at a time please.
Yes , I did. but I had to select it 19 times
ASKER
Could I please have Draw period option with time filter ? and integrate the draw period userform with time filter into the What if userform ?
ASKER
you only need to select one cell and not the whole row
one cell at a time is working,
I have posted a new question
At that point would you like to be able to change one of those 4 numbers (this would not affect the Record tab) or should number entry in the userform be limited to the blank cells? Note that as the picture shows, 2, 4 and 5 are winning numbers but 22 is not.