Excel Formula

jabbaman

New Member
Joined
Jun 5, 2018
Messages
16
Hi all, I'm new to MrExcel
I'm trying to work out which input to use for this scenario.
In cell A2 i have 4 different win prices i can use
So what i want to be able to do is when i enter a price in A2 it will automatically put the outlay amount in cell B2 and in cell C2 when i enter 1st i want it to automatically enter the amount from cell D2 into E2 , obviously if the result in C2 is either 2nd,3rd or Unplaced it would automatically enter $0.00. I hope someone can help me with this, thanks.
A1 B1 C1 D1 E1 F1 G1 H1 I1 J1 K1 L1
Win PriceOutlayFinishedWin AmountWon/LostDifferenceTotal OutlayProfit/Loss Prices Min Prices Max BetPosition
$1.55$250.001st$387.50$387.50$137.50$250.00$137.50$1.00$2.00$2501st
$1.80$250.003rd$450.00$0.00-$250.00$500.00-$112.50$2.01$3.00$2002nd
$2.70$200.001st$540.00$540.00$340.00$700.00$227.50$3.01$4.00$1503rd
$7.00$100.00Unplaced$700.00$0.00-$100.00$800.00$127.50$4.01$150.00$100Unplaced
$3.40$150.001st$510.00$510.00$360.00$950.00$487.50
$0.00$0.00$950.00$487.50
$0.00$0.00$950.00$487.50

<colgroup><col><col><col><col><col><col><col><col><col><col><col><col></colgroup><tbody>
</tbody>
 
So this in B2 and drag down

Code:
=IF(A2<=2,250,IF(A2<=3,200,IF(A2<=4,150,100)))
 
Upvote 0

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
And just in case A2 is blank

Code:
=IF(A2="","",IF(A2<=2,250,IF(A2<=3,200,IF(A2<=4,150,100))))
 
Upvote 0
Hi Michael,
I have one more formula i need help with, i think it might a IF formula not sure. So A2 has dog names, B2 has trainers name, i also have columns with each trainers dogs, so what i would like to do is once i put the dogs name in A2 it automatically put the trainers name in cell B2. Hope you can help, thanks.

TIPPERARY MELSam SultanaAshlee TerryBIG REPUTATIONBrooke EnnisBAROOGA BRETTKevin EylesBIG BARRADarren BrownCHIEF'S EMPIRESeona ThompsonASTON DEE BEE
MINI DIVASam SultanaBRIGHT NEW SHINEBELLA SHIMAHEARTBREAK HERMY CHIEF'S SIDEKICKASTON DUKE
YODABrooke EnnisBURN LIKE FIREBELT UP BUBBSKRAKEN AYE KAYMAYOR DIGBYAZKABAN
BAROOGA BRETTBrooke EnnisCHARMED AN TAKENMIGHTY HAZZAKRAKEN BAM BAM MINI DIVABECKHAM
INVASIONKaren M WalshEYE GOT ITMY MATE LENNYKRAKEN BOLTPERCY'S CURSEBEWILDERING
THRILLING ARNOLDKaren M WalshEYES ON YOUPANDAKENKRAKEN GRETAPERCY'S EMPIREDESPACITO
RIDIN' SHOTGUNKaren M WalshLEICA CALI KINGROCKSTAR STRATUSKRAKEN PACEYOUR HANGERDOUBLE QUE
HOT PLATTERJohannes VanderburgMY AMERICAN GIRLSTERLING ARCHERMI ROMAEQUANIMITY
DIDDILEEJohannes VanderburgNERVOUS AN WEIRDTRITT TRITTWHAT STOPPING YAEXTREME MAGIC
KRAKEN PACEKevin EylesOUTTA MY DEPTHTRUMPSTAFAB REIKO
KRAKEN BOLTKevin EylesPURE WHITE EVILYODAFLYING SPARKLES
KRAKEN AYE KAYKevin EylesQUENA DEE AIRZIPPING ANGUSHEMSWORTH
KRAKEN BAM BAMKevin EylesSHAKIN' BRAVEZIPPING NANCYOUT OF RANGE
HEARTBREAK HERMYKevin EylesPOKE THE BEAR
PERCY'S EMPIREDarren BrownREIKO ROCKETTA
CHARMED AN TAKENAshlee TerrySTYGIAN
TRUE TALENTSeona ThompsonTRUE TALENT

<colgroup><col span="2"><col><col><col><col><col><col><col><col><col span="2"></colgroup><tbody>
</tbody>
 
Upvote 0
Do you have a lookup list for trainers / dog names ?
If so, where is it ?
If not, how do we know who trains which dog to start with??
 
Upvote 0
Hi Michael,

no i haven't got a lookup list. All i have is their name in one cell and their dogs in the next cell.
Example:
Kevin Eyles BIG BARRA

HEARTBREAK HERMY
KRAKEN AYE KAY
KRAKEN BAM BAM
KRAKEN BOLT
KRAKEN GRETA
KRAKEN PACE
MI ROMA
WHAT STOPPING YA
 
Upvote 0
OK, is the name of the trainer next to each dog ??
like this


Excel 2007
AB
1Kevin EylesBIG BARRA
2Kevin EylesHEARTBREAK HERMY
3Kevin EylesKRAKEN AYE KAY
4Kevin EylesKRAKEN BAM BAM
5Kevin EylesKRAKEN BOLT
6Kevin EylesKRAKEN GRETA
7Kevin EylesKRAKEN PACE
8Kevin EylesMI ROMA
9Kevin EylesWHAT STOPPING YA
Sheet1
 
Last edited:
Upvote 0
Hi Michael, yes but i only have his name once in A1 then the dogs the way you have it. but i have a few different trainers , so another trainers name in C1 then dogs name D1 etc etc E1, F1 and so on.
 
Upvote 0
with 'em all side by side it's gonna be difficult to write a simple formula.
I would suggest a lookup table, either somewhere on the same worksheet OR on it's own...and then use a VLOOKUP formula
The table should look like this


Excel 2007
DE
1BIG REPUTATIONAshlee Terry
2BRIGHT NEW SHINEAshlee Terry
3BURN LIKE FIREAshlee Terry
4CHARMED AN TAKENAshlee Terry
5EYE GOT ITAshlee Terry
6EYES ON YOUAshlee Terry
7LEICA CALI KINGAshlee Terry
8MY AMERICAN GIRLAshlee Terry
9NERVOUS AN WEIRDAshlee Terry
10OUTTA MY DEPTHAshlee Terry
11PURE WHITE EVILAshlee Terry
12QUENA DEE AIRAshlee Terry
13SHAKIN' BRAVEAshlee Terry
14BAROOGA BRETTBrooke Ennis
15BELLA SHIMABrooke Ennis
16BELT UP BUBBSBrooke Ennis
17MIGHTY HAZZABrooke Ennis
18MY MATE LENNYBrooke Ennis
19PANDAKENBrooke Ennis
20ROCKSTAR STRATUSBrooke Ennis
21STERLING ARCHERBrooke Ennis
22TRITT TRITTBrooke Ennis
23TRUMPSTABrooke Ennis
24YODABrooke Ennis
25ZIPPING ANGUSBrooke Ennis
26ZIPPING NANCYBrooke Ennis
27BIG BARRAKevin Eyles
28HEARTBREAK HERMYKevin Eyles
29KRAKEN AYE KAYKevin Eyles
30KRAKEN BAM BAMKevin Eyles
31KRAKEN BOLTKevin Eyles
32KRAKEN GRETAKevin Eyles
33KRAKEN PACEKevin Eyles
34MI ROMAKevin Eyles
35WHAT STOPPING YAKevin Eyles
Sheet2


Then a VLOOKUP formula like

Code:
=Vlookup(A1,$D$1:$E$35,2,0)

so the formula looks up a value equivalent to A1 in the table of D1:E35, and returns the equivalent value in the 2nd column of that table....does that help / make sense ???
 
Upvote 0

Forum statistics

Threads
1,214,846
Messages
6,121,905
Members
449,054
Latest member
luca142

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top