From: Courtney on
Hello any assistance provided is greatly appreciated.

I would like to write a formula, or code where I can have cell c15 on sheet
A equal cell A1 on sheet B if Cell B1 = incorrect and cell c2 = 5164.

So more exactly:

If b2=incorrect and c2=5164 then copy a1 from sheet dec to sheet corporate c5

The part that makes this the most difficult is that c2 on sheet dec will
change aproximately every 140 rows, and will contain up to 2 thousand
entries.


From: Don Guillett on
If desired, send your file to my address below. I will only look if:
1. You send a copy of this message on an inserted sheet
2. You give me the newsgroup and the subject line
3. You send a clear explanation of what you want
4. You send before/after examples and expected results.

I'll look tomorrow

--
Don Guillett
Microsoft MVP Excel
SalesAid Software
dguillett1(a)austin.rr.com
"Courtney" <Courtney(a)discussions.microsoft.com> wrote in message
news:126D3B76-A254-4BCB-A347-EF7DFC9A720A(a)microsoft.com...
> Hello any assistance provided is greatly appreciated.
>
> I would like to write a formula, or code where I can have cell c15 on
> sheet
> A equal cell A1 on sheet B if Cell B1 = incorrect and cell c2 = 5164.
>
> So more exactly:
>
> If b2=incorrect and c2=5164 then copy a1 from sheet dec to sheet corporate
> c5
>
> The part that makes this the most difficult is that c2 on sheet dec will
> change aproximately every 140 rows, and will contain up to 2 thousand
> entries.
>
>