From: smith82 on

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
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.


--
Don Guillett
Microsoft MVP Excel
SalesAid Software
dguillett(a)gmail.com
"smith82" <smith82.6222cb1(a)excelbanter.com> wrote in message
news:smith82.6222cb1(a)excelbanter.com...
>
> 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