Calling up relevant data

e4xit

New Member
Joined
Nov 1, 2011
Messages
4
Hi,

I would imagine this may have been asked before, but you can never be sure how others worded their posts and the search didnt turn up what I was looking for.

Basically, I have a very simple sheet which has chemicals listed by name (y-axis) and various elements along the x-axis (obv with corresponding amounts in each cell) - For values of zero I have left blank at the moment.

What I would like to be able to do is to find an element (perhaps search box, perhaps something else) then display only the relevant elements which make up this chemical... This is where I am stumbling - I have so many blank cells this becomes quite hard, even with banded rows.

I have limited VBA experience, but always willing to try/learn...

Thanks,

Will
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
Hi,
would you consider a formula?
if in A1:
HTML:
	CHCl3	C3H6O	CH2Cl2	Density	 ΔfHo
chloroform	119.38	-	-	1.483	8.8
dichloromethane	-	-	84.93	1.33	6.16
acetone	-	58.08	-	0.791	-250.03

to get this in A6:
HTML:
	CHCl3	C3H6O	CH2Cl2	Density	 ΔfHo
chloroform	119.38	-	-	1.483	8.8

In A7: a data validation list such as what you mentioned with the range A2:A4.
then in B7:
Code:
=IFERROR(INDEX(B2:B4,MATCH($A$7,$A$2:$A$4,0)),"")
Ctrl + Shift + Enter, not just enter.

Although this might not be what you need.
Post a sample of your data if you can with a sample of how you would like the result to look like.
Follow this link.
 
Upvote 0

Forum statistics

Threads
1,223,719
Messages
6,174,089
Members
452,542
Latest member
Bricklin

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top