I tried searching but I'm not very good with some of these advanced macros, so I'm not sure how to do it...but here's my predicament.
I am trying to manage all of my horse betting in Excel. In column "D," I have the amount of the bet, and in column "E" the type of bet (this will only ever be entered as one of the following: WIN, PLC, SHW, EXA, TRI, SPR). In column "G" I have the total cost of the bet.
Now, my primary concern is this - off to the side, I have "total spent on WIN," and "total spent on SHW," etc... how can I get the total amount from column "G" (since that will have the total for all horses, manually calculated by however many horses I typed in) only if, in the same row, the column "E" specifies "WIN?" This way I can get the total amount I'm spending on "WIN" bets.
Bonus points:
It would be even cooler if I could teach column "G" to automatically calculate the bet based on how many horses I type in. I always type in the horses separated by a comma and a space, such as "2, 7, 5" or if it's just one horse, then it's merely the number, such as "3" - any way to teach it to figure that out too without screwing up the first thing?
Thanks to anyone who can help!!
Bookmarks