RE: Formula that brings in daily input from a range of cells.

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Presuming the numbers 1 - 31 are in row 1, starting in A.

=INDEX(Data!C1:AG2,2,MATCH(DAY(TODAY()),C1:AG1))

C1:AG2 is your range.. you can change to, say, C1:AG50 to capture 50 rows.

,2, says look in the 2nd row for this stat.

DAY(TODAY()) assumes you want to pull current day's stats. you can do
DAY(TODAY())-1 to get yesterday's.. or you can just enter the date in, say,
cell A1 of your summary sheet, then it's just
MATCH(A1,C1:AG1)

"jmort1" wrote:

Can someone help me with creating a summary worksheet that extracts the data
from a secondary daily input worksheet? On the daily input worksheet, there
is a column for every day of the month, 1 thru 31. Eack day we input the
number of rooms our hotel sells. Ex.) Column C is day 1, a row under it is a
manual input cell for rooms sold that day (50). So from left to right each
day has an input of the rooms sold. What I'm trying to do is create a
"summary" worksheet that will automatically pull the newest days data. I
thought of If statements, but I'd have a string a mile long and I'm not
knowledgable enough in excel to even begin this. Should state that there are
about a dozen stats I wish to do the same thing with, all of the info is on
the data worksheet, but I need this summary information to cycle forward to
the next days amounts.
.



Relevant Pages

  • Re: Formula that brings in daily input from a range of cells.
    ... DAY) assumes you want to pull current day's stats. ... On the daily input worksheet, ... manual input cell for rooms sold that day. ...
    (microsoft.public.excel.misc)
  • Re: Nonu cited
    ... > I've posted elsewhere how they pull the stats - they don't acknowledge ... > intermarriages and they even admit that this is a seriously flawed way ...
    (rec.sport.rugby.union)
  • Re: Some comment on Fable: Lost Chapter
    ... > The first time you go to pull out the blade, ... > fail UNLESS all your Strength stats are already maxed out (if they are ... > to pull the sword. ... that I haven't even tried to resort a walkthrough yet. ...
    (rec.games.computer.ultima.dragons)
  • Re: Future retired numbers
    ... Did you pull those stats off B-R one by one or is there a query you can ... does that just apply to Rose? ...
    (rec.sport.baseball)
  • Re: Extracing p-values from lrm object
    ... But you can only pull ... Say your lrm model object was called m1, to get the stats value from it ... but atleast its a start. ...
    (sci.stat.consult)