Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22
Default Highlighting cell / lookup

Hi all,

I want to modify a spreadsheet so that the user picks 1 variable from 4
different columns
and a cell that has the value equivalent to these 4 conditions is
automatically highlighted - all the data is within the same spreadsheet

For example, if you pick item A (variable 1), order 100 (variable 2
etc.)....then the value of this item is $100 (highlight this cell)

Thanks

  #2   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Highlighting cell / lookup

.. all the data is within the same spreadsheet

Data Filter Autofilter
seems the natural* fit here to achieve what you're after

*Also the easiest, as the autofilter dropdowns on the 4 key cols
will give your users the unique selections in the dropdowns

The ultimate filtered row(s) satisfying all 4 key col selections
will be the result line(s).
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Vince" wrote:
Hi all,

I want to modify a spreadsheet so that the user picks 1 variable from 4
different columns
and a cell that has the value equivalent to these 4 conditions is
automatically highlighted - all the data is within the same spreadsheet

For example, if you pick item A (variable 1), order 100 (variable 2
etc.)....then the value of this item is $100 (highlight this cell)

Thanks


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22
Default Highlighting cell / lookup


Max wrote:
.. all the data is within the same spreadsheet


Data Filter Autofilter
seems the natural* fit here to achieve what you're after

*Also the easiest, as the autofilter dropdowns on the 4 key cols
will give your users the unique selections in the dropdowns

The ultimate filtered row(s) satisfying all 4 key col selections
will be the result line(s).


Sorry Max, that didn't work (was my first choice as well..) The data is
in 2 drop down lists -the combination of these 2 cells need to then
look up and return or highlight a value in a table. I have tried a IF
statement but I am not that advanced I'm afraid...

Thanks

  #4   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Highlighting cell / lookup

"Vince" wrote:
Sorry Max, that didn't work (was my first choice as well..) The data is
in 2 drop down lists -the combination of these 2 cells need to then
look up and return or highlight a value in a table. I have tried a IF
statement but I am not that advanced I'm afraid...


Difficult to visualize what's happening there ..

Could you use either of the 2 free filehosts listed below to upload your
sample and
then post the link to it in response here (the link is generated when you
upload, just copy and paste it here)

http://www.flypicture.com/
http://cjoint.com/index.php

For cjoint.com (it's in French), just click the "Browse" button, navigate to
folder select the file Open, then click the button centred in the page
below (labelled "Creer le lien Cjoint") and it'll generate the link. Then
copy & paste the generated link as part and parcel of your response here.

Kindly note that no attachments should be posted *directly* to the newsgroup
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,688
Default Highlighting cell / lookup

For cjoint.com (it's in French)

Here it is in English:

http://translate.google.com/translat...l%3Den%26lr%3D

Biff

"Max" wrote in message
...
"Vince" wrote:
Sorry Max, that didn't work (was my first choice as well..) The data is
in 2 drop down lists -the combination of these 2 cells need to then
look up and return or highlight a value in a table. I have tried a IF
statement but I am not that advanced I'm afraid...


Difficult to visualize what's happening there ..

Could you use either of the 2 free filehosts listed below to upload your
sample and
then post the link to it in response here (the link is generated when you
upload, just copy and paste it here)

http://www.flypicture.com/
http://cjoint.com/index.php

For cjoint.com (it's in French), just click the "Browse" button, navigate
to
folder select the file Open, then click the button centred in the page
below (labelled "Creer le lien Cjoint") and it'll generate the link. Then
copy & paste the generated link as part and parcel of your response here.

Kindly note that no attachments should be posted *directly* to the
newsgroup
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---





  #6   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Highlighting cell / lookup

Vince,

From your orig. post, if the value is to be returned from a certain col
range satisfying values for 4 variables (also defined/named ranges), then
something like this array-entered (press CTRL+SHIFT+ENTER) should work:

=index(ReturnCol,match(1,(Var1=val1)*(Var2=val2)*( Var3=val3)*(Var4=val4),0)

whe

ReturnCol = Named range for value to be returned
Var1 = Named range for variable 1 [Var2,3,4 similar]
val1 = The selected value for variable 1 [val2,3,4 similar]
- point to the DV cell for the variable

ReturnCol and Var1, Var2, Var3, Var4 should all be identically structured
and they cannot be entire col references [eg: A:A, X:X, etc]

The above construct works for unique matches.
It will return only the 1st match in ReturnCol which satisfies all 4
variables (if any).
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
  #7   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Highlighting cell / lookup

"Biff" wrote:
For cjoint.com (it's in French)

Here it is in English: ..


Thanks for that, Biff. That should help the OP, if he is still interested in
pursuing the matter, that is. Unfortunately, I'm not able to access
google.com (or any links pointing to google.com) for the better part of a
normal day. cheers.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
  #8   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Highlighting cell / lookup

Dang! Think poor "Tinyurl" has just been added to the access-restricted list
over here. Am going blinder by the day ..
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
  #9   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Highlighting cell / lookup

"Biff" wrote:
For cjoint.com (it's in French)

Here it is in English: ..


Thanks for that, Biff. That should help the OP, if he is still interested in
pursuing the matter, that is. Unfortunately, I'm not able to access
google.com (or any links pointing to google.com) for the better part of a
normal day. cheers.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Biff" wrote in message
...
For cjoint.com (it's in French)


Here it is in English:

http://translate.google.com/translat...l%3Den%26lr%3D

Biff



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with this conditional IF statement C-Dawg Excel Discussion (Misc queries) 3 May 15th 06 06:01 PM
VLOOKUP CONDITION TO RETURN BLANK CELL WHERE LOOKUP VALUE IS NOT IN TABLE ARRAY Scott Lolmaugh Excel Worksheet Functions 3 March 9th 06 11:05 PM
Return cell reference of lookup value bobm Excel Worksheet Functions 3 July 7th 05 08:49 AM
Problem with IF condition or vector lookup? J-Philippe Excel Worksheet Functions 4 January 15th 05 08:41 PM
double lookup, nest, or macro? Josef.angel Excel Worksheet Functions 1 October 29th 04 09:50 AM


All times are GMT +1. The time now is 09:35 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"