A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Setting up and Configuration
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Urgent help with a formula



 
 
Thread Tools Display Modes
  #1  
Old October 20th, 2003, 05:23 PM
Frances Reese
external usenet poster
 
Posts: n/a
Default Urgent help with a formula

If I have column labels at the top of my work sheet and
have a list of items, how do I write a formula that will
give me the result of the name of the column label the
item is found in?
Column Labels: Fruits Nuts Candy Unknown
Almond Skittles Apple
Item Category
Skittles return "Candy"
Apple return "Unknown:
Almond Find "Almond" in B2:E10, then return the Column
Label (Nuts) where "Almond" is located.
  #2  
Old October 23rd, 2003, 01:16 AM
peter
external usenet poster
 
Posts: n/a
Default Urgent help with a formula

Hi,
I don't know any way in excel to find an item within a
matrix(row/col).
Re-think your design. Put your data in two
columns,item...category. Then use vlookup to return the
category of the selected item. At the risk of entering
the data twice, once in the columns and once in the
matrix, you could write a macro that would populate the
matrix with the data from the columns.

peter
-----Original Message-----
If I have column labels at the top of my work sheet and
have a list of items, how do I write a formula that will
give me the result of the name of the column label the
item is found in?
Column Labels: Fruits Nuts Candy Unknown
Almond Skittles Apple
Item Category
Skittles return "Candy"
Apple return "Unknown:
Almond Find "Almond" in B2:E10, then return the Column
Label (Nuts) where "Almond" is located.


.

 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 12:58 AM.


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