Forums
There is currently 1 person viewing this thread.
These 106 comments are related to the topic:
newbie to excel, excel formula help please

Post your reply

Text Format: Table: Smilies:
Forum does not support HTML
Insert Photo
Cancel
Page 2 of 3  •  Previous | 1 | 2 | 3 | Next
sort by:
Show
per page
Replies: 106
By:
stridingedge
When: 07 May 13 14:46
if he hasn't dave he needs this

just been fiddling with a sheet

    race        runners        bfsp        my rank        actual rank        rank %   
    runners                                           
    19        1        5.7        2        1        5.3   
    19        2        9.75        3        2        10.5   
    19        3        25.75        12        12        63.2   
    19        4        9.85        1        3        15.8   
    19        5        15.2        4        6        31.6   
    19        6        41        14        14        73.7   
    19        7        12.5        7        4        21.1   
    19        8        17.5        5        8        42.1   
    19        9        42        15        15        78.9   
    19        10        23        6        10        52.6   
    19        11        44        16        16        84.2   
    19        12        85        18        19        100.0   
    19        13        44        17        16        84.2   
    19        14        19        9        9        47.4   
    19        15        13.5        8        5        26.3   
    19        16        39        13        13        68.4   
    19        17        24        11        11        57.9   
    19        18        73        19        18        94.7   
    19        19        17        10        7        36.8   
By:
stridingedge
When: 07 May 13 14:47
from the above

he wants to lay horses with rank % lower 26.9 that are not in his top 5

is this right ?
By:
stridingedge
When: 07 May 13 14:49
if i have this right (obviously columns will need  proper references for his sheet formulas


a simple conditional format will apply a colour based on the specified condition(s) being met
By:
stridingedge
When: 07 May 13 14:51
in my example h would want to lay numbers 7 and 15 ?
By:
grendel
When: 07 May 13 14:55
how do you copy from spreadsheet onto here like that stridingedge, i've never got round to figuring out how to do it
By:
stridingedge
When: 07 May 13 14:57
you just insert colums in between data and use  a pair of || (shift\) as a divider
By:
stridingedge
When: 07 May 13 14:58
have i got the jist of what he wants here now grendel?

if that table is right its easy from there to get to what he wants highlighted
By:
grendel
When: 07 May 13 15:00
yeah, i'm sure it is easy it's just incorporating it into what his spreadsheet looks like
By:
grendel
When: 07 May 13 15:04
    78        Tom Sawyer   
    76        Tom Sawyer   
    75        Danzoe   
    73        Tom Sawyer   
    72        Love You Louis   
    72        Beauty Pageant   
    71        One Kool Dude   
    71        Irish Boy   
    71        One Kool Dude   
    71        Love You Louis   
    71        Speedyfix   
    71        Liberty Ship   
By:
grendel
When: 07 May 13 15:04
aha !!!, thanks
By:
grendel
When: 07 May 13 15:05
if nothing else, atleast i've learnt sumink new
By:
stridingedge
When: 07 May 13 15:09
    race        runners        bfsp        my rank        actual rank        rank %        operation   
    runners                                                   
    19        1        5.7        2        1        5.3        no bet   
    19        2        9.75        3        2        10.5        no bet   
    19        3        25.75        12        12        63.2        no bet   
    19        4        9.85        1        3        15.8        no bet   
    19        5        15.2        4        6        31.6        no bet   
    19        6        41        14        14        73.7        no bet   
    19        7        12.5        7        4        21.1        lay   
    19        8        17.5        5        8        42.1        no bet   
    19        9        42        15        15        78.9        no bet   
    19        10        23        6        10        52.6        no bet   
    19        11        44        16        16        84.2        no bet   
    19        12        85        18        19        100.0        no bet   
    19        13        44        17        16        84.2        no bet   
    19        14        19        9        9        47.4        no bet   
    19        15        13.5        8        5        26.3        lay   
    19        16        39        13        13        68.4        no bet   
    19        17        24        11        11        57.9        no bet   
    19        18        73        19        18        94.7        no bet   
    19        19        17        10        7        36.8        no bet   
By:
stridingedge
When: 07 May 13 15:11
i added a nested if and function to meet the criteria specified and got the above table with the 'operation' to be performed on each runner.


you can then easily colour the rows with a simple conditional format

when (operation column ref) = lay choose the format colour
By:
stridingedge
When: 07 May 13 15:13
if i've understood it i think this is what he wanted

obviously needs to change for his sheet but it's very easy.

=IF(AND(M3=5, G3
By:
stridingedge
When: 07 May 13 15:14
FFS why are my posts being cropped today Devil
By:
grendel
When: 07 May 13 15:15
if you use either the more than or less than sign in this forum it doesn't submit what comes after it
By:
stridingedge
When: 07 May 13 15:15
the nested function that does the working out

=IF(AND(M3=5, G3
By:
stridingedge
When: 07 May 13 15:16
how can i post a formula then grendel Confused
By:
stridingedge
When: 07 May 13 15:16
took all this trouble to solve this now cannot post the important formula Laugh
By:
grendel
When: 07 May 13 15:16
you could replace the signs with MT and LT and they can be replaced back again if the OP uses them
By:
grendel
When: 07 May 13 15:17
but put MT and LT in bold or italics
By:
stridingedge
When: 07 May 13 15:17
Wink
By:
stridingedge
When: 07 May 13 15:23
right try again

the nested if and function that works out whether to lay or not is based on 3 values

=if(and(m3 LT=26.9,i3 MT 5, g3 LT=15),"lay","no bet")

where m3 = rank%
i3 = his rank
and g3 = betfair sp
By:
grendel
When: 07 May 13 15:33
the i3 value requirement is variable according to field size though stridingedge and not fixed at 5 ... this value is determined by the 26.9% and therefore should be taken out
By:
stridingedge
When: 07 May 13 15:37
i see so i3 isn't needed
By:
stridingedge
When: 07 May 13 15:48
    race        runners        bfsp        my rank        actual rank        rank %        my rank%        operation   
    runners                                                           
    19        1        5.7        2        1        5.3        10.5        no bet   
    19        2        9.75        3        2        10.5        15.8        no bet   
    19        3        25.75        12        12        63.2        63.2        no bet   
    19        4        9.85        1        3        15.8        5.3        no bet   
    19        5        15.2        4        6        31.6        21.1        no bet   
    19        6        41        14        14        73.7        73.7        no bet   
    19        7        12.5        7        4        21.1        36.8        lay   
    19        8        17.5        5        8        42.1        26.3        no bet   
    19        9        42        15        15        78.9        78.9        no bet   
    19        10        23        6        10        52.6        31.6        no bet   
    19        11        44        16        16        84.2        84.2        no bet   
    19        12        85        18        19        100.0        94.7        no bet   
    19        13        44        17        16        84.2        89.5        no bet   
    19        14        19        9        9        47.4        47.4        no bet   
    19        15        13.5        8        5        26.3        42.1        lay   
    19        16        39        13        13        68.4        68.4        no bet   
    19        17        24        11        11        57.9        57.9        no bet   
    19        18        73        19        18        94.7        100.0        no bet   
    19        19        17        10        7        36.8        52.6        no bet   
By:
stridingedge
When: 07 May 13 15:55
so now an extra column to show 'my rank %'

conditions that need to be met to lay

rank% is equal to or less than 26.9
my rank is greater than 26.9
bfsp is less than or equal to 15.0

nested function would be

=if(and(m3 LT=26.9, o3 MT 26.9, g3 LT=15),"lay", "no bet")

m3 = rank%
o3 = my rank %
g3 = betfair sp

how to conditional format operation cell alone or entire row with lay selections....

http://www.howtogeek.com/howto/45670/how-to-highlight-a-row-in-excel-using-conditional-formatting/
By:
grendel
When: 07 May 13 15:58
if the columns are A to H the formula should read

=if(and(F3LT26.9,C3LT15),1,0)

then conditionally format H3:H33 to highlight if value =1
By:
stridingedge
When: 07 May 13 16:02
i started from c3 with first runner data

his rank has to be bigger than 26.9% (dependent on number of runners) too grendel

where as the actual rank % (dependent on no of runners) needs to be less than 26.9
By:
stridingedge
When: 07 May 13 16:03
he needs the 3 conditions met not 2
By:
stridingedge
When: 07 May 13 16:06
anyway goodyd

this should be of some help to you

the conditional formatting is easy once you've applied it a few times

the link i posted should help highlight your selections with colour
By:
stridingedge
When: 07 May 13 16:55
how to highlight the whole row with qualifying selections, in the above example 'lay' selections.

in my example the 'operation column' has data from q3 down wards, selections are either no bet or lays.

go to q3 (in my example)(or the first cell in your sheet that has same data!)

click conditional formatting
manage rules
new rule
click on 'use a formula to determine which cells to highlight'
in the formula box type in =$q3="lay" obviously you need to change for your sheets reference
then click format
apply the desired formatting, whether it be fill colour, text colour etc
click ok you should get a preview box to show what formatting will look like
click ok again

you will then see a box with the rule you have assigned, the format and the 'applies to reference'
click on little box to right of sheet reference this will take you back into the sheet
drag this cell to left of sheet and down to cover the whole sheet range
the selection should have a flashing light around it now
press return
click apply

the rows that contain lays should now be highlighted with the format you assigned

as long as your table has the 'lay/no bet' in the last column you should be able to make this work as dragging over all cells to left and down will then always highlight the entire rows you want.

it may look daunting but its very easy once you've done it

hopefully follow these steps and yu will have what you want.
By:
goodyd
When: 08 May 13 00:47
thanks guys,just got back, this is the screenshot which might help I hope.....
By:
goodyd
When: 08 May 13 00:58
you will see that bright green cells are top rated  and green is top 30% and the  pink is bottom rated 30% the darker pink the worse rating/ ranking, I am going to change those to 26.9% to match the rest,( 26.9% is the easiest way to decide number of runners for the lay slections because depending on runners it gives correct number to lay ) I wanted to use column W for the suggested lay bet, next to the back and lay columns but it is part of an array so don't think I can, column J is the lay price and AG is the ranking,just want the appropriate lays highlighted orange even if it has to be using the ranking column AG to do i, I think all it needs is conditional formatting changed to top and bottom 26.9% and the formula applying
By:
grendel
When: 08 May 13 08:11
I take it that this is a program you have bought or subscribe to and not your own creation as it's far more complicated than any excel spreadsheet I have compiled and certainly not the work of a 'newbie' to excel.  My own opinion is that this is over complicating betting and not something I would try to do but good luck
By:
goodyd
When: 08 May 13 09:01
hi grendel
thanks for your opinion but quite contrary, it is a program I have had developed over the past ten years or so to produce what I personally need,the man who did most of the work on the program is sadly no longer with us and I keep thinking of ways I would like to improve it.
I can do the simplest thing in excel only which is why I am asking for help.
I always think the more input you can have to any racing strategy the better and no way can you over complicate it, the program collects data from many sites and tells me lots of things in a glance, and can be set, adjusted, to produce different results depending on lots of different variables.
Presently I select the backs and lays manually and add the stakes to suit my strategy manually which takes up time which could be better spent doing more studies in relation to each race.
Currntly I have someone working on a database which will incorporate reverse engineering to tweak the settings to achieve what would have been the best settings for the past days racing results and then incorporate them into the settings available next time those identical conditions apply, eg, going,distance,course, betting patterns
but thanks very much for your help Grendel
By:
goodyd
When: 08 May 13 11:48
there is a different set of ratings for each handicap race of the day in similar format to the screenshot, I just scroll down to the relevant race
By:
stridingedge
When: 08 May 13 11:51
did you read through the stuff i put on here


as long as you get to a point where your formulas are right and lays/no bets are selected i did say how you can then conditionally format your data
By:
stridingedge
When: 08 May 13 11:51
did you read through the stuff i put on here


as long as you get to a point where your formulas are right and lays/no bets are selected i did say how you can then conditionally format your data
By:
stridingedge
When: 08 May 13 11:59
just switched to new site to see your sheet

far more in depth than i thought i must admit

what are the colours on there now, have you done these manually?
Page 2 of 3  •  Previous | 1 | 2 | 3 | Next
sort by:
Show
per page

Post your reply

Text Format: Table: Smilies:
Forum does not support HTML
Insert Photo
Cancel
‹ back to topics
www.betfair.com