Formulas to reference range based on data in column

I probably didn't title this too well.

I have a spreadsheet with 500 rows of data, sorted by the date in column A. 
I want to extract certain data from rows that all start with the same 
specified date.

Previously I used an IF formula but that necessitates having the formula in 
500 rows which won't work for my purposes.

I'm going round incircles trying to think how best to achieve this.
0
Utf
3/10/2010 9:08:05 AM
excel.worksheet.functions 4936 articles. 2 followers. Follow

8 Replies
530 Views

Similar Articles

[PageSpeed] 34

If you apply a filter to the date column for the selected date you can
then just highlight the visible rows and copy/paste or cut/paste them
elsewhere (eg another sheet) to extract them.

Hope this helps.

Pete

On Mar 10, 9:08=A0am, Code Numpty <CodeNum...@discussions.microsoft.com>
wrote:
> I probably didn't title this too well.
>
> I have a spreadsheet with 500 rows of data, sorted by the date in column =
A.
> I want to extract certain data from rows that all start with the same
> specified date.
>
> Previously I used an IF formula but that necessitates having the formula =
in
> 500 rows which won't work for my purposes.
>
> I'm going round incircles trying to think how best to achieve this.

0
Pete_UK
3/10/2010 11:11:52 AM
I knew I didn't word it well. 

Information is often being added or changed in the original sheet but it is 
always sorted back into date order on save.

What I need is for the extracted data to appear automatically in the other 
sheet and always be up to date.



"Pete_UK" wrote:

> If you apply a filter to the date column for the selected date you can
> then just highlight the visible rows and copy/paste or cut/paste them
> elsewhere (eg another sheet) to extract them.
> 
> Hope this helps.
> 
> Pete
> 
> On Mar 10, 9:08 am, Code Numpty <CodeNum...@discussions.microsoft.com>
> wrote:
> > I probably didn't title this too well.
> >
> > I have a spreadsheet with 500 rows of data, sorted by the date in column A.
> > I want to extract certain data from rows that all start with the same
> > specified date.
> >
> > Previously I used an IF formula but that necessitates having the formula in
> > 500 rows which won't work for my purposes.
> >
> > I'm going round incircles trying to think how best to achieve this.
> 
> .
> 
0
Utf
3/10/2010 12:25:01 PM
Well, give us some details. What data do you have in your original
sheet? Where are the dates, and do these increase each day? Do you
have several entries for each date? What exactly do you want to
extract? etc. etc.

Pete

On Mar 10, 12:25=A0pm, Code Numpty
<CodeNum...@discussions.microsoft.com> wrote:
> I knew I didn't word it well.
>
> Information is often being added or changed in the original sheet but it =
is
> always sorted back into date order on save.
>
> What I need is for the extracted data to appear automatically in the othe=
r
> sheet and always be up to date.
>
>
>
> "Pete_UK" wrote:
> > If you apply a filter to the date column for the selected date you can
> > then just highlight the visible rows and copy/paste or cut/paste them
> > elsewhere (eg another sheet) to extract them.
>
> > Hope this helps.
>
> > Pete
>
> > On Mar 10, 9:08 am, Code Numpty <CodeNum...@discussions.microsoft.com>
> > wrote:
> > > I probably didn't title this too well.
>
> > > I have a spreadsheet with 500 rows of data, sorted by the date in col=
umn A.
> > > I want to extract certain data from rows that all start with the same
> > > specified date.
>
> > > Previously I used an IF formula but that necessitates having the form=
ula in
> > > 500 rows which won't work for my purposes.
>
> > > I'm going round incircles trying to think how best to achieve this.
>
> > .- Hide quoted text -
>
> - Show quoted text -

0
Pete_UK
3/10/2010 12:32:42 PM
Original sheet contains dates, names, numbers and notes. Dates often change 
and new dates are added. Older dates are regularly deleted. Sheets are 
automatically sorted by date on save. 

Example Data (with header row, column letters in brackets)

In (A)	day (B)	Out (C)	day (D)	Pen (E)	Cat/s (F)	Last Name (G)	Tel No 
(H)	Arrival Notes (I)	Collection Notes (J)	Days (K)	Rate (L)	Deposit 
(M)	Total £ (N)
15/3/10	Mon	1/4/10	Thu	25	Flossy	Nelson	012345 6793			18	£6.15		110.70
18/3/10	Thu	3/4/10	Sat	11	Izzy	Prosser	012345 6794			17	£6.15		104.55
1/4/10	Thu	6/4/10	Tue	4	Jasper	Davies	012345 6795			6	£6.15		36.90
1/4/10	Thu	6/4/10	Tue	6	Dusty & Smudge	Catchpole	012345 6790			6	£9.50		57.00
1/4/10	Thu	6/4/10	Tue	22	Batman & Robin	King	012345 6792			6	£9.50		57.00
1/4/10	Thu	6/4/10	Tue	26	Muffin	Tristram	012345 6793	New Customer, sign 
Card	PAID	6	£6.15	24.60	12.30
3/4/10	Sat	6/4/10	Tue	21	Smudge & Ginger	Smith	012345 6791			4	£9.50		38.00


In another workbook I want to pull in certain data based on the date in 
column A. 

In one section e.g. (all based on the same date in column A)

Pen (E)	Cat/s (F)	Last Name (G)	Out (C)	day (D)	Arrival Notes (I)

Example data

Pen (E)	Cat/s (F)	Last Name (G)	Out (C)	day (D)	Arrival Notes (I)
4	Jasper	Davies	6/4/10	Tue	
6	Dusty & Smudge	Catchpole	6/4/10	Tue	
22	Batman & Robin	King	6/4/10	Tue	
26	Muffin	Tristram	6/4/10	Tue	New Customer, sign Card

I want this workbook to update so that the data is always current, taking 
into account changed dates and dates that have been added. I will always be 
looking for data for a single date only.

I hope this is a little clearer.

Sharon

"Pete_UK" wrote:

> Well, give us some details. What data do you have in your original
> sheet? Where are the dates, and do these increase each day? Do you
> have several entries for each date? What exactly do you want to
> extract? etc. etc.
> 
> Pete
> 
> On Mar 10, 12:25 pm, Code Numpty
> <CodeNum...@discussions.microsoft.com> wrote:
> > I knew I didn't word it well.
> >
> > Information is often being added or changed in the original sheet but it is
> > always sorted back into date order on save.
> >
> > What I need is for the extracted data to appear automatically in the other
> > sheet and always be up to date.
> >
> >
> >
> > "Pete_UK" wrote:
> > > If you apply a filter to the date column for the selected date you can
> > > then just highlight the visible rows and copy/paste or cut/paste them
> > > elsewhere (eg another sheet) to extract them.
> >
> > > Hope this helps.
> >
> > > Pete
> >
> > > On Mar 10, 9:08 am, Code Numpty <CodeNum...@discussions.microsoft.com>
> > > wrote:
> > > > I probably didn't title this too well.
> >
> > > > I have a spreadsheet with 500 rows of data, sorted by the date in column A.
> > > > I want to extract certain data from rows that all start with the same
> > > > specified date.
> >
> > > > Previously I used an IF formula but that necessitates having the formula in
> > > > 500 rows which won't work for my purposes.
> >
> > > > I'm going round incircles trying to think how best to achieve this.
> >
> > > .- Hide quoted text -
> >
> > - Show quoted text -
> 
> .
> 
0
Utf
3/10/2010 4:21:02 PM
Okay, Sharon, it looks like column O is free in your data sheet, so
put "Seq" in O1 and this formula in O2:

=3DIF(A2=3D"","-",A2&"_"&COUNTIF(A$1:A2,A2))

and copy this down beyond your data. It will give a sequential number
after the date serial number.

Then assuming you put your date of interest in H1 of the second sheet,
then in H2 you can put this formula:

=3DIF(ISNA(MATCH(H$1&"_"&ROW(A1),data!O:O,0)),"",MATCH(H
$1&"_"&ROW(A1),data!O:O,0))

Copy this down as far as you think you will need it (i.e. to cover the
maximum number of entries that you are likely to have on any one day,
eg to row 20). Then you can put your headings in A1: F1, and you can
have a formula like this in A2:

=3DIF($H2=3D"","",INDEX(data(E:E),$H2))

This will bring the matching data from column E of the data sheet. A
similar formula in B2:

=3DIF($H2=3D"","",INDEX(data(F:F),$H2))

will bring data from column F of the data sheet. Just set up similar
formulae in C2:F2 to suit the data you want to bring across, changing
the F:F to the appropriate column. Format these cells as appropriate
(eg dates), then copy the formulae down to row 20.

Now, you can just change the date in H1 to see the data change.

If you delete or add any rows in the data sheet, you will need to copy
the formula in column O to ensure it covers the data that you have.

Hope this helps.

Pete

On Mar 10, 4:21=A0pm, Code Numpty <CodeNum...@discussions.microsoft.com>
wrote:
> Original sheet contains dates, names, numbers and notes. Dates often chan=
ge
> and new dates are added. Older dates are regularly deleted. Sheets are
> automatically sorted by date on save.
>
> Example Data (with header row, column letters in brackets)
>
> In (A) =A0day (B) Out (C) day (D) Pen (E) Cat/s (F) =A0 =A0 =A0 Last Name=
 (G) =A0 Tel No
> (H) =A0 =A0 Arrival Notes (I) =A0 =A0 =A0 Collection Notes (J) =A0 =A0Day=
s (K) =A0 =A0 =A0 =A0Rate (L) =A0 =A0 =A0 =A0Deposit
> (M) =A0 =A0 Total =A3 (N)
> 15/3/10 Mon =A0 =A0 1/4/10 =A0Thu =A0 =A0 25 =A0 =A0 =A0Flossy =A0Nelson =
=A0012345 6793 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 18 =A0 =A0 =A0=A36.1=
5 =A0 =A0 =A0 =A0 =A0110.70
> 18/3/10 Thu =A0 =A0 3/4/10 =A0Sat =A0 =A0 11 =A0 =A0 =A0Izzy =A0 =A0Pross=
er 012345 6794 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 17 =A0 =A0 =A0=A36.1=
5 =A0 =A0 =A0 =A0 =A0104.55
> 1/4/10 =A0Thu =A0 =A0 6/4/10 =A0Tue =A0 =A0 4 =A0 =A0 =A0 Jasper =A0Davie=
s =A0012345 6795 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 6 =A0 =A0 =A0 =A36=
..15 =A0 =A0 =A0 =A0 =A036.90
> 1/4/10 =A0Thu =A0 =A0 6/4/10 =A0Tue =A0 =A0 6 =A0 =A0 =A0 Dusty & Smudge =
=A0 =A0 =A0Catchpole =A0 =A0 =A0 012345 6790 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 =A0 6 =A0 =A0 =A0 =A39.50 =A0 =A0 =A0 =A0 =A057.00
> 1/4/10 =A0Thu =A0 =A0 6/4/10 =A0Tue =A0 =A0 22 =A0 =A0 =A0Batman & Robin =
=A0 =A0 =A0King =A0 =A0012345 6792 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
6 =A0 =A0 =A0 =A39.50 =A0 =A0 =A0 =A0 =A057.00
> 1/4/10 =A0Thu =A0 =A0 6/4/10 =A0Tue =A0 =A0 26 =A0 =A0 =A0Muffin =A0Trist=
ram =A0 =A0 =A0 =A0012345 6793 =A0 =A0 New Customer, sign
> Card =A0 =A0PAID =A0 =A06 =A0 =A0 =A0 =A36.15 =A024.60 =A0 12.30
> 3/4/10 =A0Sat =A0 =A0 6/4/10 =A0Tue =A0 =A0 21 =A0 =A0 =A0Smudge & Ginger=
 =A0 =A0 Smith =A0 012345 6791 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 4 =
=A0 =A0 =A0 =A39.50 =A0 =A0 =A0 =A0 =A038.00
>
> In another workbook I want to pull in certain data based on the date in
> column A.
>
> In one section e.g. (all based on the same date in column A)
>
> Pen (E) Cat/s (F) =A0 =A0 =A0 Last Name (G) =A0 Out (C) day (D) Arrival N=
otes (I)
>
> Example data
>
> Pen (E) Cat/s (F) =A0 =A0 =A0 Last Name (G) =A0 Out (C) day (D) Arrival N=
otes (I)
> 4 =A0 =A0 =A0 Jasper =A0Davies =A06/4/10 =A0Tue =A0 =A0
> 6 =A0 =A0 =A0 Dusty & Smudge =A0 =A0 =A0Catchpole =A0 =A0 =A0 6/4/10 =A0T=
ue =A0 =A0
> 22 =A0 =A0 =A0Batman & Robin =A0 =A0 =A0King =A0 =A06/4/10 =A0Tue =A0 =A0
> 26 =A0 =A0 =A0Muffin =A0Tristram =A0 =A0 =A0 =A06/4/10 =A0Tue =A0 =A0 New=
 Customer, sign Card
>
> I want this workbook to update so that the data is always current, taking
> into account changed dates and dates that have been added. I will always =
be
> looking for data for a single date only.
>
> I hope this is a little clearer.
>
> Sharon
>
>
>
> "Pete_UK" wrote:
> > Well, give us some details. What data do you have in your original
> > sheet? Where are the dates, and do these increase each day? Do you
> > have several entries for each date? What exactly do you want to
> > extract? etc. etc.
>
> > Pete
>
> > On Mar 10, 12:25 pm, Code Numpty
> > <CodeNum...@discussions.microsoft.com> wrote:
> > > I knew I didn't word it well.
>
> > > Information is often being added or changed in the original sheet but=
 it is
> > > always sorted back into date order on save.
>
> > > What I need is for the extracted data to appear automatically in the =
other
> > > sheet and always be up to date.
>
> > > "Pete_UK" wrote:
> > > > If you apply a filter to the date column for the selected date you =
can
> > > > then just highlight the visible rows and copy/paste or cut/paste th=
em
> > > > elsewhere (eg another sheet) to extract them.
>
> > > > Hope this helps.
>
> > > > Pete
>
> > > > On Mar 10, 9:08 am, Code Numpty <CodeNum...@discussions.microsoft.c=
om>
> > > > wrote:
> > > > > I probably didn't title this too well.
>
> > > > > I have a spreadsheet with 500 rows of data, sorted by the date in=
 column A.
> > > > > I want to extract certain data from rows that all start with the =
same
> > > > > specified date.
>
> > > > > Previously I used an IF formula but that necessitates having the =
formula in
> > > > > 500 rows which won't work for my purposes.
>
> > > > > I'm going round incircles trying to think how best to achieve thi=
s.
>
> > > > .- Hide quoted text -
>
> > > - Show quoted text -
>
> > .- Hide quoted text -
>
> - Show quoted text -

0
Pete_UK
3/10/2010 4:49:43 PM
You may also consider using the Pivot Table tool if you have Excel 2007.  
Sorting and analyzing data with this tool is a whiz.

e-Learning

"Code Numpty" wrote:

> I probably didn't title this too well.
> 
> I have a spreadsheet with 500 rows of data, sorted by the date in column A. 
> I want to extract certain data from rows that all start with the same 
> specified date.
> 
> Previously I used an IF formula but that necessitates having the formula in 
> 500 rows which won't work for my purposes.
> 
> I'm going round incircles trying to think how best to achieve this.
0
Utf
3/10/2010 8:08:01 PM
Pete, it works a treat!

My project was a lot more complicated than I let on but I have managed to 
adapt what you gave me and actually use it in 2 separate places to achieve a 
single sheet that gives me all bookings in and all bookings out on a single 
date  that will always be current. It has also helped me to get a better 
understanding of how I can use INDEX and MATCH. 

You've been a great help.

Sharon

"Pete_UK" wrote:

> Okay, Sharon, it looks like column O is free in your data sheet, so
> put "Seq" in O1 and this formula in O2:
> 
> =IF(A2="","-",A2&"_"&COUNTIF(A$1:A2,A2))
> 
> and copy this down beyond your data. It will give a sequential number
> after the date serial number.
> 
> Then assuming you put your date of interest in H1 of the second sheet,
> then in H2 you can put this formula:
> 
> =IF(ISNA(MATCH(H$1&"_"&ROW(A1),data!O:O,0)),"",MATCH(H
> $1&"_"&ROW(A1),data!O:O,0))
> 
> Copy this down as far as you think you will need it (i.e. to cover the
> maximum number of entries that you are likely to have on any one day,
> eg to row 20). Then you can put your headings in A1: F1, and you can
> have a formula like this in A2:
> 
> =IF($H2="","",INDEX(data(E:E),$H2))
> 
> This will bring the matching data from column E of the data sheet. A
> similar formula in B2:
> 
> =IF($H2="","",INDEX(data(F:F),$H2))
> 
> will bring data from column F of the data sheet. Just set up similar
> formulae in C2:F2 to suit the data you want to bring across, changing
> the F:F to the appropriate column. Format these cells as appropriate
> (eg dates), then copy the formulae down to row 20.
> 
> Now, you can just change the date in H1 to see the data change.
> 
> If you delete or add any rows in the data sheet, you will need to copy
> the formula in column O to ensure it covers the data that you have.
> 
> Hope this helps.
> 
> Pete
> 
>
0
Utf
3/14/2010 8:51:01 AM
Thanks, I'll try and remember to look at this when I do move to 2007.

"e-Learning" wrote:

> You may also consider using the Pivot Table tool if you have Excel 2007.  
> Sorting and analyzing data with this tool is a whiz.
> 
> e-Learning
> 
> "Code Numpty" wrote:
> 
> > I probably didn't title this too well.
> > 
> > I have a spreadsheet with 500 rows of data, sorted by the date in column A. 
> > I want to extract certain data from rows that all start with the same 
> > specified date.
> > 
> > Previously I used an IF formula but that necessitates having the formula in 
> > 500 rows which won't work for my purposes.
> > 
> > I'm going round incircles trying to think how best to achieve this.
0
Utf
3/14/2010 8:53:01 AM
Reply:

Similar Artilces:

Select range from unopened workbook
I'm trying to take data from an unopened workbook. I copied the following code directly from my "Excel 2003 VBA" book. range("A12") = Workbooks("BILLRATE.xls").Worksheets("BILLRATE").Cells(1, 1).range("A1") I get a "subscript out of range error on this. The workbook "BILLRATE" is in the working folder. And I can call it if I use Workbooks("BILLRATE.xls").Open. But when I try to access the range, I get the subscript out of range error. Any ideas? thanks Make sure your spelling of the names is ac...

help with formula please #2
Can anyone please help with this formula. If Sheet1 Column A = nothing(blank) And Column B = \\\\\\CC\\\\\\ Then Sheet 2 B7 = SumTotal. As a regular formula would be nice or VB code Hi Richard you want nothing at all in the whole of column A in sheet 1? do you want every cell in column B of sheet 1 to have \\\\\\CC\\\\\\ or should this (can this) only appear in one cell? and what range are you summing on sheet 2 in cell B7? Cheers JulieD "Richard" <anonymous@discussions.microsoft.com> wrote in message news:82ce01c477e1$77f0e740$a301280a@phx.gbl... > Can anyone please ...

Changing a range of an array in a SUMPRODUCT formula gives a #N/A error
I have a working SUMPRODUCT formula {=SUMPRODUCT(($C$4:$C$4341=z8)*(audittypefm1="Standard"))} that I need to change the 1st array to C5623. When I do I get a #N/A error. I've tried giving the range a name (empnofm2), and I've verified all the data in the C4:C5623 range is formated the same (general, it is all employee numbers from 2 to 5 digits long. I'm using a "trim all" macro which is working great. I am unable to determine what is causing the #N/A and how to fix it. Basically I copied an entire worksheet within the same workbook and changed the name, wh...

Data Migration Problem 01-14-05
Hello, i had just read the data migration frameworkguide, and i'm trying to migrate data into the crm database. But i have not the same entries in my cdf_Account_info table, but data is in cdf_Account table present. What is working wrong?? log files are correct. I hope someone can help me! ali Hi Ali, This sometimes happens if the triggers on the cdf_Account table don't fire. I'm not sure as to the reason behind this but you can manually update the cdf_Account_info and cdf_Account_ext files with the AccountId from cdf_Account. Try use the following SQL: Insert Into cdf_A...

Appending or Up-dating a formula
I am using an =Ave function in a formula to average quite a few cell values together. I add new information all the time; sometimes 5 or 6 new cells at a time. How can I append or up-date my formula to include these new cells with out have to type the new cells into the formula? When I make the cell that has the formula in it active/edit, all of the cells that are referenced in the formula have a highlight around them. Is there a key or key combination I can press while clicking on the cells I want to add to the formula? Thanks, john Hi see your post in Excel.misc -- Regards Frank ...

help with a formula #5
I have 98 sets of magazines each set has 12 in the set what formula can I use to get a total of issues in all sets have you tried 98*12 -- Don Guillett SalesAid Software dguillett1@austin.rr.com "Just Me" <no@isp.com> wrote in message news:eZ66ZEGHGHA.1192@TK2MSFTNGP11.phx.gbl... >I have 98 sets of magazines each set has 12 in the set > > what formula can I use to get a total of issues in all sets > =98*12 or =A1*A2 if the numbers are in A1 and A2 -- HTH Bob Phillips (remove nothere from email address if mailing direct) "Just Me" <n...

Formula #29
Hi, What formula should I use if I want it to look at a specific cell and then work out the total number between two numbers. e.g. if cell H6 had 7-4 entered the number 9 would be returned. Thanks in advance I'm not sure how you got 9, but your life would be much easier if you used two separate cells and then subtracted the smaller from the larger (and then added one???). Boenerge wrote: > > Hi, > What formula should I use if I want it to look at a specific cell and then > work out the total number between two numbers. > e.g. if cell H6 had 7-4 entered the number 9 woul...

How do I format the data labels in my stacked bar graph?
Hello, I am trying to make the Data Labels fit withing the stacked bar graph but cannot seem to have any success. I want each label to distribut itself evenly within the boundries of bar it is labeling. I know that can use text box over each bar, but that is a lengthy process and is hi or miss for me. Does anyone have any ideas? Thanks!! -- ocjre ----------------------------------------------------------------------- ocjred's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=3702 View this thread: http://www.excelforum.com/showthread.php?threadid=56744 Right...

Can offset be used in this formula?
Can the offset be used in the below formula for the information in column "K"? In column L have the the following formula's L46 =MAX($I46*1000-$K$46*$J46,0) L47 =MAX($I47*1000-$K$46*$J47,0) .... L99 =MAX($I99*1000-$K$46*$J99,0) What I'd like to do is to copy the fomula into columns M, N, O, ... M47 =MAX($I47*1000-$K$47*$J47,0) M48 =MAX($I48*1000-$K$47*$J48,0) M49 =MAX($I49*1000-$K$47*$J49,0) .... N48 =MAX($I48*1000-$K$48*$J48,0) N49 =MAX($I49*1000-$K$48*$J49,0) .... O50 =MAX($I50*1000-$K$50*$J50,0) O51 =MAX($I51*1000-$K$50*$J51,0) .... How abou...

Formula to return tomorrow's date.
I have a report that must be turned in the night before for tomorrow's date. Is ithere a date formula that will return tomorrow's date to a cell in Excel? One way: =TODAY() + 1 In article <668782AC-774A-475F-9821-8A4C3B14A983@microsoft.com>, "Shadyhosta" <Shadyhosta@discussions.microsoft.com> wrote: > I have a report that must be turned in the night before for tomorrow's date. > Is ithere a date formula that will return tomorrow's date to a cell in Excel? I assume that you want the date to remain static after entry. Easiest way, use 2...

Merging two tables based on a unique data field
I have two text files that I would like to merge into one based on a common data field. One has persons' names and addresses, the other has different information about each person. Both have a unique ID number that can be used to combine the data. What is the best way to bring them together? Using Excel? or Access? What process should I use to get the text data into the program? then to combine the data? I'd appreciate whatever help anyone can give. Thank you, Jeanne Import the data into two separate Access tables. Create a new query using both tables as the data source. Mak...

Weekday formula
Can anyone help with the weekday formula. What I want to do is enter the date in say A1 11/20/2003 and have B return the answer of Thursday. Currently I use the weekday formula bu only returns the number of the day. Thanks in advance B ----------------------------------------------- ~~ Message posted from http://www.ExcelTip.com ~~View and post usenet messages directly from http://www.ExcelForum.com There are several ways to do this. One is to enter =A1 and format the cell with a custom number format of dddd. Another way is to use the function =TEXT(A1,"dddd"). -- Cordiall...

Q/VB.NET: Append data to XML file without loading complete file?
Can someone give me an example how to append data without having to load the complete XML file. Is this possible? Jonathan "Jonathan Buckland" <jonathan@theinformationpeople.com> wrote in message news:94e0c304.0402200504.39458a35@posting.google.com... > Can someone give me an example how to append data without having to > load the complete XML file. The ability to append data to an XML file without processing the entire document greatly depends on the structure of the XML, and the place in the file where you want to append. As a simple example to get started with, co...

calculate per day usage with a number range
I have the check in date and the check out date for a large group. I would like to see how many rooms are used per day for the period. Column A = Check in date (ex: 2-feb) Column B = Check out date (ex: 10-feb) How can I tell how many rooms were used on 6-feb, how many on 7-feb, etc? Thanks so much for your help! Put the date of interest (e.g. 6-feb-2008) in D2 then in E2 use this formula =SUMPRODUCT((A$2:A$100<=D2)*(B$2:B$100>=D2)) You can copy the formula down to calculate for more date in column D "peabody" wrote: > I have the check in date and the check out dat...

Formula to return a formula
At least I think that's what I'm looking for. here's my situation: I've got a sheet where there is a variable (X) that changes depending on what row it is on. So I have a column (column c) that lists these variables (X is dependant on things from a different sheet). X is a muliplier that is utilized differently depending on the value of N. N is a Picklist selection and can change periodically. Or even be duplicated on more than one row. I have a vlookup that checks the value of N (column a) and needs to return a formula that has X applied if needed on the approp...

Add data to excel series
I receive daily API transation data. Each day the data is provided via a text file. Data is in columns. First column is date, second column is API (35 different APIs), third column is transaction volume and fourth column is average response time. I would like to create a chart with date on the x axis, transaction volume on the y axis, and each API as its own series. I can create a base chart for a single day with all series. I am having a problems adding in addition series data for each additional day? Is there an easy way to add data to each series? Create a PivotTable (and PivotC...

Count formula within a named range.
Hi, How do I change the following formula =SUMIF($F$39:$F$79,"PW Shopfitters",$D$39:$D$79)/COUNTIF($F$39:$F$79,"PW Shopfitters") to count within a named range (PW Shopfitters). Any help would be great. Cheers, Phil Hi A range name cannot have spaces, maybe that's your problem. Name your range PW_Shopfitters. Then replace your cell references with PW_Shopfitters, eg =Sumif(PW_Shopfitters,"PW Shopfitters",............ -- j.kasselman@atlantic.net.remove_2nd_at. Randburg, Gauteng, South Africa "PW11111" wrote: > > Hi, > &g...

How to use a text formula as code formula
Hello. I have this formula loaded from a text field on a form: val([field10])+val([field20]) and I would like to use this as a code formula. I mean, if I use that in VBA code it works, but If I load from a text field it doesn't work. I need that my form use that formula stored in a text field to calculate values. Regards in advance, Marco responded to in another newsgroup. It's rarely necessary to post the same question to more than one group. If it is necessary, select all the relevant newsgroups in the "To:" or "Newsgroups:" field. That way, folks who...

Purchase Order Processing Data Has Been Damaged #2
I have a customer who has multiple POs that have been received against yet the original PO is still in the "new" status so it shows up to be received against again. I have run reconcile on the POs and it wants to change the line item status from "new" to "closed" but then it gives the error "Purchase Order Processing data has been damaged; please rebuild the data." No line item status changes are made. I have run Checklinks on the Purchasing Transactions table and that didn't make a difference. With SQL how do we rebuild the data? Have ...

Using VBA code to change Chart Data Series
On a worksheet, I have a List Box Control (lbProfitICSales) with a ListFillRange named "Profit_Ind_Cd_Sales". When selecting an item in the List Box, I want to change the x and y data series in the single chart on the "Profit-Ind Cd Sales" worksheet. I don't understand why the following code does not work- I always get an "object does not support this property or method". Help lookup indicates this code should work. Private Sub lbProfitICSales_Change() Dim strwksht As String strwksht = Application.ActiveSheet.Name 'Worksheets("Review").U...

Including a formula in a path name.
Dear MS, How about a new function for this one. I'm sure MANY users have the same problem as me. The research below seems quite comprehensive and has effectively come up against a brick wall. Thanks Peter Harlan Grove posted this UDF: http://www.google.com/groups?selm=hkQVb.2432%24_4.259%40www.newsranger.com Peter wrote: > > Very Helpful Papou - thank you! > Do you know of an additional / alternative method where you achieve the same tihing but are not required to have all the relevant work sheets open? > Many thanks > Peter > > "papou" wrote: > ...

FORMULA #14
What formula in access can do =COUNTIF(CAF!D:D,A3) Basicly I have 2 tables I want the 2nd table to count how many times a number is listed in the 1st table. I am trying to do this with a query and the count expression but keep getting errors. Dont bother with this one guys just figured it out AMDGUY [MCP] wrote: > What formula in access can do > =COUNTIF(CAF!D:D,A3) > > Basicly I have 2 tables > > I want the 2nd table to count how many times a number is listed in the > 1st table. I am trying to do this with a query and the count expression > but keep getting e...

What does the $ symbol mean in a formula?
What does the $ symbol mean in a formula? example: =G8*($A$14*2)*100 thanx The $ is used for absolut referencing. For e.g lets take your formula =G8*($A$14*2)*100 suppose you enter this formula in cell B2, now simply copy this formula one cell to the right (C2) by and one cell down (B3). C2: =H8*($A$14*2)*100 B3: =G9*($A$14*2)*100 So you see that The original G8 has changed, whereas $A$1 remains the same in both the new formulae because of the dollar signs. Mangesh "S" <S@discussions.microsoft.com> wrote in message news:D86597A4-C0A1-46AF-9DA6-FE06AB9C1FA0@mi...

formula wording
i dont know if you can do this..... if(c5=10, take the cell 5 right 3 down to it, 0) if you can, i dont know how to write it in excel language thanks if anyone can hel -- cutsygur ----------------------------------------------------------------------- cutsygurl's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=1504 View this thread: http://www.excelforum.com/showthread.php?threadid=27569 cutsygurl Wrote: > i dont know if you can do this..... > if(c5=10, take the cell 5 right 3 down to it, 0) > if you can, i dont know how to write it in excel language &...

Formula Problem #12
I have $700,000 to spend on advertising for three different products. My market share for the three products is 51.96%, 36.07% and 41.25%. I want to apportion my 700K between the three products so that the product with the lowest market share gets the most advertising dollars, etc. Using my data, I've been trying to devise a formula all night that would do this, but I'm stumped. I could use a hint... Here's one way of doing it - put 700,000 in A1 and put your 2 percentage shares in B1:B3 and then put this formula in C1: =3DA$1*(1-B1/SUM(B$1:B$3))/2 Format as currency and co...