If function to fill next cell

wizzer26

New Member
Joined
Feb 15, 2018
Messages
1
I'm I only really know basic excel but I'm trying to set up a spreadsheet to record football teams and results as games occur

Arsenal win
Man u draw
Chelsea lose
Arsenal lose
Chelsea draw

I then want on another sheet to record all this information by team i.e (based on the data above) to see how many games have been played an the results

Arsenal. Win. lose
Man u. Draw
Chelsea. lose. Draw.

I can use lookup function to search cells for team and results but I'm stuck on how to make it search a range but ignore previously recorded results.
Can this be done?
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
I'm I only really know basic excel but I'm trying to set up a spreadsheet to record football teams and results as games occur

Arsenal win
Man u draw
Chelsea lose
Arsenal lose
Chelsea draw

I then want on another sheet to record all this information by team i.e (based on the data above) to see how many games have been played an the results

Arsenal. Win. lose
Man u. Draw
Chelsea. lose. Draw.

I can use lookup function to search cells for team and results but I'm stuck on how to make it search a range but ignore previously recorded results.
Can this be done?


You could put your data into a worksheet, as follows:




[TABLE="width: 128"]
<colgroup><col width="64" span="2" style="width:48pt"> </colgroup><tbody>[TR]
[TD="class: xl64, width: 64"]Team[/TD]
[TD="class: xl64, width: 64"]Outcome[/TD]
[/TR]
[TR]
[TD="class: xl63"]Arsenal[/TD]
[TD]win[/TD]
[/TR]
[TR]
[TD="class: xl63"]Man U[/TD]
[TD]draw[/TD]
[/TR]
[TR]
[TD="class: xl63"]Chelsea[/TD]
[TD]lose[/TD]
[/TR]
[TR]
[TD="class: xl63"]Arsenal[/TD]
[TD]lose[/TD]
[/TR]
[TR]
[TD="class: xl63"]Chelsea[/TD]
[TD]draw[/TD]
[/TR]
</tbody>[/TABLE]


With it stored in two columns, as above (one for Team and the second for Outcome), it's very easy to create a PIVOT table.

Highlight the two columns

Go to the Insert menu and click on Pivot Table


The PivotTable dialog box will be pre-filled because you already highlighted the two columns.

Make sure New Worksheet is selected then click on OK.


A new worksheet will be added. On the right (usually) is the PivotTable Field List.

Drag TEAM to Cow labels
Drag OUTCOME to Column labels
and DRAG OUTCOME again from the top area (Choose Field to add to report area) into VALUES



Now, as you add data to the original sheet, you can easily go to the pivot table and click on any cell... then choose OPTIONS from the menu (will be under the highlighted PIVOTTABLE TOOLS section) and select the REFRESH option.



Hope this helps.
 
Upvote 0

Forum statistics

Threads
1,223,164
Messages
6,170,444
Members
452,326
Latest member
johnshaji

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