Author Topic: Seriously, how do I use Excel.  (Read 1544 times)

0 Members and 1 Guest are viewing this topic.

Offline tomterp

  • Global Moderator
  • ****
  • Posts: 33843
  • Hell yes!
Re: Seriously, how do I use Excel.
« Reply #25: April 16, 2013, 08:49:33 AM »
No, I've done that. What I want is that if I select something in A1, I want data from another worksheet to automatically fill in for B1, C1, D1, ect

I've not seen that done but practically anything is possible in Excel if you have enough time.

Online imref

  • Posts: 43838
  • Re-contending in 202...5?
Re: Seriously, how do I use Excel.
« Reply #26: April 16, 2013, 09:41:24 AM »
Okay, I want to be able to select something from a drop down menu and when I do, populate several cells with information from another worksheet that corresponds to the item in the drop down menu. Is it possible to do this without having an extensive formula in each cell I want to change?

It's not terribly difficult.  You have to put a validated list of data in the cell with the drop down. (Data/Validation from the menu).  Say, A,B,C as your possible choices.

Then somewhere (another sheet?) you build your response table:

Sheet "test"
A  10
B  20
C  30

(in the above A,B,C are your drop-down choices)

Then in the cells where you want to place the data that corresponds with the dropdown choice, you enter a VLOOKUP formula to find the number that corresponds with each of the potential dropdown choices.  See http://office.microsoft.com/en-us/excel-help/vlookup-HP005209335.aspx for a tutorial/examples of VLOOKUP

Online Slateman

  • Posts: 63880
  • THE SUMMONER OF THE REVERSE JINX
Re: Seriously, how do I use Excel.
« Reply #27: April 16, 2013, 11:13:01 AM »
It's not terribly difficult.  You have to put a validated list of data in the cell with the drop down. (Data/Validation from the menu).  Say, A,B,C as your possible choices.

Then somewhere (another sheet?) you build your response table:

Sheet "test"
A  10
B  20
C  30

(in the above A,B,C are your drop-down choices)

Then in the cells where you want to place the data that corresponds with the dropdown choice, you enter a VLOOKUP formula to find the number that corresponds with each of the potential dropdown choices.  See http://office.microsoft.com/en-us/excel-help/vlookup-HP005209335.aspx for a tutorial/examples of VLOOKUP

Okay, I got it.

Now, is there a way to have all these forumlas on another page OR allow for custom information to be entered in to the cell if it doesn't match a drop down menu.

Offline comish4lif

  • Posts: 2934
  • Too Stressed to care.
Re: Seriously, how do I use Excel.
« Reply #28: April 16, 2013, 01:59:26 PM »
Okay, I got it.

Now, is there a way to have all these forumlas on another page OR allow for custom information to be entered in to the cell if it doesn't match a drop down menu.

What do you mean formula on a different page?

As far as adding stuff in addition to the dropdown, I don't think that's possible. To get a dropdown, you have to limit the values to a named range, or a predetermined list. Otherwise, Excel sees the rule as this: limit the value to the dropdown choices. or, you know, anything you want.

Online Slateman

  • Posts: 63880
  • THE SUMMONER OF THE REVERSE JINX
Re: Seriously, how do I use Excel.
« Reply #29: April 16, 2013, 02:26:37 PM »
How do you add words/letters after importing a number from a cell?

So if I want to take the number in cell A1 and put it in cell B5 and add "yards" after it, how do I do that?

Offline comish4lif

  • Posts: 2934
  • Too Stressed to care.
Re: Seriously, how do I use Excel.
« Reply #30: April 16, 2013, 02:30:58 PM »
In A1 type =b5&" yards"

The & allows you to concatenate a bunch of stuff together. In this, the value from B5 and some text.

Offline Dixon Ward

  • Posts: 1676
Re: Seriously, how do I use Excel.
« Reply #31: April 16, 2013, 02:32:06 PM »
B5=CONCATENATE(A1," ",$Q2)

where Q2 is a cell in which you've typed "yards"

Offline Dixon Ward

  • Posts: 1676
Re: Seriously, how do I use Excel.
« Reply #32: April 16, 2013, 02:32:55 PM »
In A1 type =b5&" yards"

The & allows you to concatenate a bunch of stuff together. In this, the value from B5 and some text.

oh, nice. i didn't know this trick

could also use B5=CONCATENATE(A1," ","yards")

Offline tomterp

  • Global Moderator
  • ****
  • Posts: 33843
  • Hell yes!
Re: Seriously, how do I use Excel.
« Reply #33: April 16, 2013, 03:27:17 PM »
In A1 type =b5&" yards"

The & allows you to concatenate a bunch of stuff together. In this, the value from B5 and some text.

Good tip.  I use concatenate quite a bit but never knew the "&" shortcut.

Online imref

  • Posts: 43838
  • Re-contending in 202...5?
Re: Seriously, how do I use Excel.
« Reply #34: April 16, 2013, 03:29:53 PM »
Okay, I got it.

Now, is there a way to have all these forumlas on another page OR allow for custom information to be entered in to the cell if it doesn't match a drop down menu.

you need to put the formulas in the cells where you want the results to appear, but you can but the data table on another sheet within a workbook.

Offline comish4lif

  • Posts: 2934
  • Too Stressed to care.
Re: Seriously, how do I use Excel.
« Reply #35: April 16, 2013, 03:30:10 PM »
I wish you could type a range into CONCATENATE, like =concatenate(a1:a5)

Online imref

  • Posts: 43838
  • Re-contending in 202...5?
Re: Seriously, how do I use Excel.
« Reply #36: April 16, 2013, 03:37:01 PM »
I wish you could type a range into CONCATENATE, like =concatenate(a1:a5)

yeah, but you could enter each cell individually: =CONCATENATE(F7, G7, H7)

Offline welch

  • Posts: 16861
  • The Sweetest Right Handed Swing in 1950s Baseball
Re: Seriously, how do I use Excel.
« Reply #37: April 16, 2013, 04:03:34 PM »
Gadzooks, you are a superhero!

My thanks to you all!

As a result of your heroic efforts, I shall tell you all the fruits of my labor. When you look at the careers of 3,748 professional baseball hitters since 1871, only one single player with a significant # of games as a hitter (400+, I think) has more walks than strikeouts: ...pitcher Mickey Lolich?!?

(Another interesting result: there was a real ballplayer named Urban Shocker.)

Wait a minute!

Was that a typo? ("only one single player with a significant # of games as a hitter (400+, I think) has more walks than strikeouts"). It used to mark a bad hitter: more K's than walks. I'd be surprised to find a pitcher with 400 decisions who gave up more walks than K's...

Eddie Yost: 1600 walks, 900 strikeouts, about 18 seassons.


Online Slateman

  • Posts: 63880
  • THE SUMMONER OF THE REVERSE JINX
Re: Seriously, how do I use Excel.
« Reply #38: April 16, 2013, 04:11:47 PM »
Has to be. Ted Williams had 2021 walks and 709 strikeouts

Online imref

  • Posts: 43838
  • Re-contending in 202...5?
Re: Seriously, how do I use Excel.
« Reply #39: April 16, 2013, 04:54:15 PM »
ugh, guess we need to recheck his formulas. :)

Offline GburgNatsFan

  • Posts: 22334
  • Let's drink a few for Mathguy.
Re: Seriously, how do I use Excel.
« Reply #40: April 16, 2013, 07:47:02 PM »
The whole world is basing decision making on a buggy Excel. :)
ugh, guess we need to recheck his formulas. :)

Online Slateman

  • Posts: 63880
  • THE SUMMONER OF THE REVERSE JINX
Re: Seriously, how do I use Excel.
« Reply #41: April 23, 2013, 03:57:52 PM »
It took me a while, but I finally figured out the index/match function and hot to make it work. I can now plug in the data for any round of ammunition and get accurate ballistic and wind charts :P

Online HalfSmokes

  • Posts: 21656
Re: Seriously, how do I use Excel.
« Reply #42: April 23, 2013, 08:10:43 PM »
Hopefully that isn't part if his fangraphs submission

Online Slateman

  • Posts: 63880
  • THE SUMMONER OF THE REVERSE JINX
Re: Seriously, how do I use Excel.
« Reply #43: April 23, 2013, 08:15:00 PM »
I'd definitely read if it were ...