PC Review


Reply
Thread Tools Rate Thread

Challenge of the day part 2

 
 
=?Utf-8?B?S2hhbmpvaG4=?=
Guest
Posts: n/a
 
      19th Apr 2007
Thanks now here is second part of question: Do I need it to match as the
range
will be from C6:C14 (apple,banana, pear etc that it needs to match so does
L35:
=IF(G35=$C$6:$C$14,$AA$2,"") work then? i have numerous areas i would like
to do this in.

"JE McGimpsey" wrote:

> Note that worksheet functions in cells can't "put" values in other
> cells. If you want a worksheet solution, then one way:
>
> L35: =IF(G35=$C$6,$AA$2,"")
>
> Copy L35 to L35:M126
>
> In article <9EE04C79-672D-4C9A-B091-(E-Mail Removed)>,
> Khanjohn <(E-Mail Removed)> wrote:
>
> > Here goes. say I have a topic in C6 named banana (drop down menu) and I
> > want it to look up data( will have from apple to zulu fruit) in G35 :H126 and
> > if it matchs then put the value of aa2 which is 2 in the appropiate column
> > in L35:M126. What is the frormula in excel not VBA? IE C6 is apple going down
> > G column it finds apple at 37, 39, 56, 78,79, 80, 100, 126 and in the H
> > column it finds apple in 38, 52, 56, 126. I wnt it to put a 2 in each of the
> > correct cells down the L and M columns.
> >
> > Thanks in advance


 
Reply With Quote
 
 
 
 
Bernie Deitrick
Guest
Posts: n/a
 
      19th Apr 2007
You really need to explain your layout better. Do you have a table of values in G35 :H126 that
associate values with words?

If that is the case, perhaps:

=VLOOKUP(C6, $G$35:$H$126, 2, False)

Which can be copied down.

HTH,
Bernie
MS Excel MVP


"Khanjohn" <(E-Mail Removed)> wrote in message
news:514DF135-2F68-43D3-876C-(E-Mail Removed)...
> Thanks now here is second part of question: Do I need it to match as the
> range
> will be from C6:C14 (apple,banana, pear etc that it needs to match so does
> L35:
> =IF(G35=$C$6:$C$14,$AA$2,"") work then? i have numerous areas i would like
> to do this in.
>
> "JE McGimpsey" wrote:
>
>> Note that worksheet functions in cells can't "put" values in other
>> cells. If you want a worksheet solution, then one way:
>>
>> L35: =IF(G35=$C$6,$AA$2,"")
>>
>> Copy L35 to L35:M126
>>
>> In article <9EE04C79-672D-4C9A-B091-(E-Mail Removed)>,
>> Khanjohn <(E-Mail Removed)> wrote:
>>
>> > Here goes. say I have a topic in C6 named banana (drop down menu) and I
>> > want it to look up data( will have from apple to zulu fruit) in G35 :H126 and
>> > if it matchs then put the value of aa2 which is 2 in the appropiate column
>> > in L35:M126. What is the frormula in excel not VBA? IE C6 is apple going down
>> > G column it finds apple at 37, 39, 56, 78,79, 80, 100, 126 and in the H
>> > column it finds apple in 38, 52, 56, 126. I wnt it to put a 2 in each of the
>> > correct cells down the L and M columns.
>> >
>> > Thanks in advance

>



 
Reply With Quote
 
=?Utf-8?B?S2hhbmpvaG4=?=
Guest
Posts: n/a
 
      19th Apr 2007
Ok

C6 Banana
(AA 2) Banana (AB 2) 3
C7 Orange
(AA 3) Apple (AB 3) 2
C8 apple
(AA 4) Onion (AB 4) 1
C9 Onion
(AA 5) Orange (AB 5) 0





data here doesnt matter C35 Banana D35 Orange E 35 ( answer for
C35) F 35 Answer for D35. continues down list.

"Bernie Deitrick" wrote:

> You really need to explain your layout better. Do you have a table of values in G35 :H126 that
> associate values with words?
>
> If that is the case, perhaps:
>
> =VLOOKUP(C6, $G$35:$H$126, 2, False)
>
> Which can be copied down.
>
> HTH,
> Bernie
> MS Excel MVP
>
>
> "Khanjohn" <(E-Mail Removed)> wrote in message
> news:514DF135-2F68-43D3-876C-(E-Mail Removed)...
> > Thanks now here is second part of question: Do I need it to match as the
> > range
> > will be from C6:C14 (apple,banana, pear etc that it needs to match so does
> > L35:
> > =IF(G35=$C$6:$C$14,$AA$2,"") work then? i have numerous areas i would like
> > to do this in.
> >
> > "JE McGimpsey" wrote:
> >
> >> Note that worksheet functions in cells can't "put" values in other
> >> cells. If you want a worksheet solution, then one way:
> >>
> >> L35: =IF(G35=$C$6,$AA$2,"")
> >>
> >> Copy L35 to L35:M126
> >>
> >> In article <9EE04C79-672D-4C9A-B091-(E-Mail Removed)>,
> >> Khanjohn <(E-Mail Removed)> wrote:
> >>
> >> > Here goes. say I have a topic in C6 named banana (drop down menu) and I
> >> > want it to look up data( will have from apple to zulu fruit) in G35 :H126 and
> >> > if it matchs then put the value of aa2 which is 2 in the appropiate column
> >> > in L35:M126. What is the frormula in excel not VBA? IE C6 is apple going down
> >> > G column it finds apple at 37, 39, 56, 78,79, 80, 100, 126 and in the H
> >> > column it finds apple in 38, 52, 56, 126. I wnt it to put a 2 in each of the
> >> > correct cells down the L and M columns.
> >> >
> >> > Thanks in advance

> >

>
>
>

 
Reply With Quote
 
Bernie Deitrick
Guest
Posts: n/a
 
      19th Apr 2007
In E35:

=VLOOKUP(C35,$AA$2:$AB$5,2,FALSE)

Copy to F35, then copy E35:F35 down to match your list....

HTH,
Bernie
MS Excel MVP


"Khanjohn" <(E-Mail Removed)> wrote in message
news:A178D866-61DD-4097-AE71-(E-Mail Removed)...
> Ok
>
> C6 Banana
> (AA 2) Banana (AB 2) 3
> C7 Orange
> (AA 3) Apple (AB 3) 2
> C8 apple
> (AA 4) Onion (AB 4) 1
> C9 Onion
> (AA 5) Orange (AB 5) 0
>
>
>
>
>
> data here doesnt matter C35 Banana D35 Orange E 35 ( answer for
> C35) F 35 Answer for D35. continues down list.
>
> "Bernie Deitrick" wrote:
>
>> You really need to explain your layout better. Do you have a table of values in G35 :H126 that
>> associate values with words?
>>
>> If that is the case, perhaps:
>>
>> =VLOOKUP(C6, $G$35:$H$126, 2, False)
>>
>> Which can be copied down.
>>
>> HTH,
>> Bernie
>> MS Excel MVP
>>
>>
>> "Khanjohn" <(E-Mail Removed)> wrote in message
>> news:514DF135-2F68-43D3-876C-(E-Mail Removed)...
>> > Thanks now here is second part of question: Do I need it to match as the
>> > range
>> > will be from C6:C14 (apple,banana, pear etc that it needs to match so does
>> > L35:
>> > =IF(G35=$C$6:$C$14,$AA$2,"") work then? i have numerous areas i would like
>> > to do this in.
>> >
>> > "JE McGimpsey" wrote:
>> >
>> >> Note that worksheet functions in cells can't "put" values in other
>> >> cells. If you want a worksheet solution, then one way:
>> >>
>> >> L35: =IF(G35=$C$6,$AA$2,"")
>> >>
>> >> Copy L35 to L35:M126
>> >>
>> >> In article <9EE04C79-672D-4C9A-B091-(E-Mail Removed)>,
>> >> Khanjohn <(E-Mail Removed)> wrote:
>> >>
>> >> > Here goes. say I have a topic in C6 named banana (drop down menu) and I
>> >> > want it to look up data( will have from apple to zulu fruit) in G35 :H126 and
>> >> > if it matchs then put the value of aa2 which is 2 in the appropiate column
>> >> > in L35:M126. What is the frormula in excel not VBA? IE C6 is apple going down
>> >> > G column it finds apple at 37, 39, 56, 78,79, 80, 100, 126 and in the H
>> >> > column it finds apple in 38, 52, 56, 126. I wnt it to put a 2 in each of the
>> >> > correct cells down the L and M columns.
>> >> >
>> >> > Thanks in advance
>> >

>>
>>
>>



 
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
Excel VBA programming assistance 2 PART CHALLENGE Tymothé Microsoft Excel Programming 1 5th Nov 2008 10:00 PM
Medical CDs - [Part 2], [Part 1], [Part 3 = MEDLINE 1986-1998] CDs ola Windows XP Basics 0 18th Aug 2007 08:19 AM
text/plain part of multipart message ignored; html part converted instead (Outlook 2003) kiden Microsoft Outlook Discussion 3 23rd Oct 2006 12:11 PM
An interesting challenge....Part Two! danison Microsoft Excel Misc 3 7th Jun 2004 05:48 AM
Need to remove the integer part and keep the fractional part of a double or decimal Michael Søndergaard Microsoft C# .NET 5 14th May 2004 02:19 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:31 PM.