+ Reply to Thread
Results 1 to 7 of 7

Go to a cell based on a number in another page.

  1. #1
    Registered User
    Join Date
    02-06-2018
    Location
    Bellingham, Washington
    MS-Off Ver
    Office 365
    Posts
    4

    Go to a cell based on a number in another page.

    I am making a excel sheet to record data for a tournament I'm going to. I need to have separate averages for both day 1 and day 2. Each competition takes 6 rows in excel, so a wrote a short formula to take the last match of day one and find which row that is. I want to find the average of that column (say C) from the first entry (row 2) to the row of the last match. So if the last match of day 1 is the 6th one (which corresponds to the row 32) I want to find the average from C2:C32. How would I go about doing this, preferably without VBA because I don't know that much about it?
    Thank you.

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,728

    Re: Go to a cell based on a number in another page.

    It would help if you attached a sample Excel workbook.

    To do this, click on Go Advanced (below the Edit Window) while you are composing a reply, then scroll down to and click on Manage Attachments and the Upload window will open. Click on Browse and navigate to (and double-click) the file icon that you want to attach, then click on Upload and then on Close this Window to return to the Edit window. When you have finished composing your post, click on Submit Post.

    Please note that the Paperclip icon (Attachments button) does not work on this forum, so don't try to use that.

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    02-06-2018
    Location
    Bellingham, Washington
    MS-Off Ver
    Office 365
    Posts
    4

    Re: Go to a cell based on a number in another page.

    This is a copy of my main file. The cell E10 on the customization page is where I input the last match of day 1. Cells F10 and G10
    calculate the last row of day 1 and the first row of day 2. On the template page in cells O5-AF5 I find the average of day 1. The data is in colums
    B through K. Example: I want to find the average amount of times a team crossed the line in day one, and display it in cell O5 using the last row of
    day 1 info from cell F10 on the customization page. If F10 said 32 I want to go find the average for day one using cells C2:C32.
    Attached Files Attached Files

  4. #4
    Forum Expert ben_hensel's Avatar
    Join Date
    01-26-2012
    Location
    Northeast USA
    MS-Off Ver
    Office 365
    Posts
    2,043

    Re: Go to a cell based on a number in another page.

    You're making this too hard on yourself.

    In O15:
    Please Login or Register  to view this content.
    In O11:
    Please Login or Register  to view this content.
    Then you can just pull that across. (You'll have to reapply the correct formatting over the top of the cells though).
    Last edited by ben_hensel; 02-07-2018 at 08:44 PM.
    Click the [* Add Reputation] Button to thank people for help!
    Post Attachment: Click [Go Advanced] under the reply box; then click [Manage Attachments] to launch the attachments dialogue.
    Mark Thread Solved: Go to the top of the first post; Select [Thread Tools] dropdown; Pick the [Mark thread as Solved] option.

  5. #5
    Registered User
    Join Date
    02-06-2018
    Location
    Bellingham, Washington
    MS-Off Ver
    Office 365
    Posts
    4

    Re: Go to a cell based on a number in another page.

    @ben_hensel
    Thank you. Also I don't understand much excel so is this how it works? the first argument defines the range of cells to find the average (Which would be change to the template page not data entry), and if the row is less than the value in F10 on the customization page find the average of the cross line column?
    The button on the customization page when pressed creates a page for each team with their own data and averages based off the template page. Data Entry will have the information for all the teams.
    Also is there equivalent function for Median, like MEDIANIF? and would it be set up the same way?

  6. #6
    Forum Expert ben_hensel's Avatar
    Join Date
    01-26-2012
    Location
    Northeast USA
    MS-Off Ver
    Office 365
    Posts
    2,043

    Re: Go to a cell based on a number in another page.

    Less Than or Equal To, but yes. You can read the documentation.

    There is no MEDIANIF equation built in, but you can create one as an array construction:

    Please Login or Register  to view this content.
    As an array formula, it must be entered with CTRL+SHIFT+ENTER, not just the ENTER key.

  7. #7
    Registered User
    Join Date
    02-06-2018
    Location
    Bellingham, Washington
    MS-Off Ver
    Office 365
    Posts
    4

    Re: Go to a cell based on a number in another page.

    Thank you.
    I tested it and I think I can get it to work, one thing though. If there is only one entry in day 1 and the value is a 1 as the formula is written it says it crossed the line 50% of the time instead of 100%. I fixed it by having it reference it's own page instead of the data entry page.
    Last edited by Cassiar; 02-07-2018 at 09:41 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Copy from page one to page two based on cell colour
    By shorie7 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-05-2016, 07:20 AM
  2. Replies: 6
    Last Post: 11-17-2013, 01:40 PM
  3. Print specific pdf page based on number in cell
    By cbdu in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-14-2013, 05:18 PM
  4. Replies: 1
    Last Post: 01-28-2013, 02:14 AM
  5. Changing Header Based on Page number
    By SEAEngineer in forum Excel General
    Replies: 2
    Last Post: 08-17-2007, 01:20 PM
  6. [SOLVED] How to display current page number in any cell of that page.
    By Laljeet in forum Excel General
    Replies: 4
    Last Post: 01-25-2006, 03:55 PM
  7. Replies: 0
    Last Post: 11-22-2005, 10:50 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1