PC Review


Reply
Thread Tools Rate Thread

code to copy range

 
 
smith82
Guest
Posts: n/a
 
      1st May 2010

Hi anyone,

I’m having two sheets in my workbook where I have named them a
“Receipt” & “Price Range”.

I'm searching for a formula that would copy the appropriate price rang
for the specific age and "gender" in the receipt sheet in the workbook.

Suppose if the age is written in the cell "B2" and "gender" as eithe
"Male or "Female" in the cell "E2" of how could the code be modified s
that it copies the appropriate price range for the specific age an
gender in the receipt sheet.

Note: if any figure between the age range is written in cell "B2".

I hope I have made my question clear.

Thanks in advance.

Best Regards
smith8


--
smith82
 
Reply With Quote
 
 
 
 
Don Guillett
Guest
Posts: n/a
 
      2nd May 2010
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.


--
Don Guillett
Microsoft MVP Excel
SalesAid Software
(E-Mail Removed)
"smith82" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>
> Hi anyone,
>
> I�m having two sheets in my workbook where I have named them as
> �Receipt� & �Price Range�.
>
> I'm searching for a formula that would copy the appropriate price range
> for the specific age and "gender" in the receipt sheet in the workbook.
>
> Suppose if the age is written in the cell "B2" and "gender" as either
> "Male or "Female" in the cell "E2" of how could the code be modified so
> that it copies the appropriate price range for the specific age and
> gender in the receipt sheet.
>
> Note: if any figure between the age range is written in cell "B2".
>
> I hope I have made my question clear.
>
> Thanks in advance.
>
> Best Regards
> smith82
>
>
>
>
> --
> smith82


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
RE: copy range code Mike H Microsoft Excel Programming 3 8th Dec 2008 12:46 PM
Can anyone tell me the proper code to copy a range... Tim Williams Microsoft Excel Programming 1 13th Mar 2007 12:51 AM
CheckBox Code to copy & paste range Casey Microsoft Excel Misc 0 13th Oct 2005 05:32 PM
Copy via code from a dynamic range using offeset Greg Microsoft Excel Programming 5 8th Aug 2005 05:13 PM
Code to copy range vs Copy Entire Worksheet - can't figure it out Mike Taylor Microsoft Excel Programming 1 15th Apr 2004 08:34 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:54 PM.