The problem with trying to do what you want with only formulas is that
formulas are volatile inasmuch as that they will recalculate when the
dependent cells change. For example in B2:
=IF(C2=$A$1,$A$2,"")
will return the contents of A2 when the date in A1 is the same as the date
in C2. However, as soon as you change either A1 or A2 then B2 will change
either to an empty string if you change A1 or the new value if you change
A2.
The way to stop this is to copy the value in that cell and paste it back
using Paste Special but that is more trouble then simple entering the value
manually. You could get an Event Macro to do it automatically when you make
a change to A1 or A2 but that is a poor solution which brings other
problems.
I think that the best thing would be, like Otto said, if you were to try to
explain to us as fully as you can, what it is that you are trying to do.
--
Regards
Sandy
In Perth, the ancient capital of Scotland
(E-Mail Removed)
(E-Mail Removed) with @tiscali.co.uk
"DarkNight" <(E-Mail Removed)> wrote in message
news:5D1A09A2-68DD-4871-BF90-(E-Mail Removed)...
> thanks for your help Sandy Mann,
> i forgot to add another cell
> Colum C = date
> so is there any way you can only get it to put information in the next
> available cell if the 2 date match.
> other wise it works just like i want it to.
> Is there an easy way for newbies to enter a formula rather than entering a
> code wich means nothing to me.
> sorry to be a pain
>
>
> "Sandy Mann" wrote:
>
>> If I follow you correctly and you want to add the data in A2 to the
>> bottom
>> of a list of data in Column B then right click on the sheet tab and
>> select
>> View Code and paste this Worksheet code into the module:
>>
>> Private Sub Worksheet_Change(ByVal Target As Excel.Range)
>>
>> If Intersect(Target, Range("A2")) Is Nothing Then Exit Sub
>> If Target.Value = "" Then Exit Sub
>>
>> Application.EnableEvents = False
>>
>> LastRow = Cells(Rows.Count, 2).End(xlUp).Row + 1
>>
>> Cells(LastRow, 2).Value = Cells(2, 1).Value
>>
>> Application.EnableEvents = True
>>
>> End Sub
>>
>> --
>> HTH
>>
>> Sandy
>> In Perth, the ancient capital of Scotland
>>
>> (E-Mail Removed)
>> (E-Mail Removed) with @tiscali.co.uk
>>
>>
>> "DarkNight" <(E-Mail Removed)> wrote in message
>> news:280B963B-A40F-4217-A469-(E-Mail Removed)...
>> > hello again, i'm trying to get this to work:-
>> > A1 = date ( changeable )
>> > A2 = £ ( changeable )
>> > B1 to B100 ( if B1 has £ in it move to next cell down without over
>> > righting
>> > previous cell) B100 could be greater , just depends on how much data i
>> > collect.
>> > up to now i can only get data by copy and pasting information from A2
>> > and
>> > placing it in the next empty available cell in B.
>> > i'vetryed tryed using the date but all cells then change to the current
>> > contents
>> > of A2 and really want previous contants to remain untouched.
>> >
>> > Thanks inadvance
>>
>>
>>