#1   Report Post  
Jaytee
 
Posts: n/a
Default Text Lists

Let's say I have several rental houses. Column "A" lists house names from a
guest survey. Column C lists Comments on the house from a guest survey. On a
seperate worksheet, I want to type in the name of a house, and have excel
list all the comments that pertain to that house.
  #2   Report Post  
Roger Govier
 
Posts: n/a
Default

Take a look at using Advanced Filter. Plenty of good guidance at
http://www.contextures.com/xladvfilter01.html

--
Regards
Roger Govier
"Jaytee" wrote in message
...
Let's say I have several rental houses. Column "A" lists house names from
a
guest survey. Column C lists Comments on the house from a guest survey. On
a
seperate worksheet, I want to type in the name of a house, and have excel
list all the comments that pertain to that house.



  #3   Report Post  
bigwheel
 
Posts: n/a
Default

on sheet 2, use formula =LOOKUP(A1,Sheet1!A1:A5,Sheet1!C1:C5)
then in A1 when you enter the house name, the description will appear

"Jaytee" wrote:

Let's say I have several rental houses. Column "A" lists house names from a
guest survey. Column C lists Comments on the house from a guest survey. On a
seperate worksheet, I want to type in the name of a house, and have excel
list all the comments that pertain to that house.

  #4   Report Post  
Jaytee
 
Posts: n/a
Default

Thanks, but I tried that. It seemed to only works for the first comment on a
given house. Picture this for sheet A:

1 2
A ALPHA " LOOKS GREAT"
B BRAVO "WORST HOME EVER"
C ALPHA "JUST SUCKED!"
D CHARLIE "HAD A GROOVY TIME"

If I type in "Alpha" in A1 on sheet B, I want to see this:
1 2
A Alpha "LOOKS GREAT"
B "JUST SUCKED"

What do you think?




bigwheel" wrote:
D
on sheet 2, use formula =LOOKUP(A1,Sheet1!A1:A5,Sheet1!C1:C5)
then in A1 when you enter the house name, the description will appear

"Jaytee" wrote:

Let's say I have several rental houses. Column "A" lists house names from a
guest survey. Column C lists Comments on the house from a guest survey. On a
seperate worksheet, I want to type in the name of a house, and have excel
list all the comments that pertain to that house.

  #5   Report Post  
Roger Govier
 
Posts: n/a
Default

The OP wanted all comments relating to the house. I think this will only
bring up the first comment.

--
Regards
Roger Govier
"bigwheel" wrote in message
...
on sheet 2, use formula =LOOKUP(A1,Sheet1!A1:A5,Sheet1!C1:C5)
then in A1 when you enter the house name, the description will appear

"Jaytee" wrote:

Let's say I have several rental houses. Column "A" lists house names from
a
guest survey. Column C lists Comments on the house from a guest survey.
On a
seperate worksheet, I want to type in the name of a house, and have excel
list all the comments that pertain to that house.





  #6   Report Post  
RagDyer
 
Posts: n/a
Default

You've got 1 & 2 on top (columns?)
And A, B, C down the side (rows?)

Assuming a standard Sheet1 format,
Column A contains the house name
Column C contains the comments

Say the data list is from A1 to C100 on Sheet1.

On Sheet2, enter the house name to look up in A1.

Enter this *array* formula in B1:

=INDEX(Sheet1!$C$1:$C$100,SMALL(IF(Sheet1!$A$1:$A$ 100=$A$1,ROW($A$1:$A$100))
,ROW(A1)))
--
Array formulas are entered using CSE, <Ctrl <Shift <Enter, instead of the
regular <Enter, which will *automatically* enclose the formula in curly
brackets, which *cannot* be done manually.

Now, copy this formula down as many rows as you anticipate the maximum
number of comments.
--
HTH,

RD
==============================================
Please keep all correspondence within the Group, so all may benefit!
==============================================



"Jaytee" wrote in message
...
Thanks, but I tried that. It seemed to only works for the first comment on

a
given house. Picture this for sheet A:

1 2
A ALPHA " LOOKS GREAT"
B BRAVO "WORST HOME EVER"
C ALPHA "JUST SUCKED!"
D CHARLIE "HAD A GROOVY TIME"

If I type in "Alpha" in A1 on sheet B, I want to see this:
1 2
A Alpha "LOOKS GREAT"
B "JUST SUCKED"

What do you think?




bigwheel" wrote:
D
on sheet 2, use formula =LOOKUP(A1,Sheet1!A1:A5,Sheet1!C1:C5)
then in A1 when you enter the house name, the description will appear

"Jaytee" wrote:

Let's say I have several rental houses. Column "A" lists house names

from a
guest survey. Column C lists Comments on the house from a guest

survey. On a
seperate worksheet, I want to type in the name of a house, and have

excel
list all the comments that pertain to that house.


  #7   Report Post  
Martin P
 
Posts: n/a
Default

Sheet 1
Cells B1 to C4: your data.
Cell A1:
=ROW($I1)-ROW($I$1)+1
Copied down to A4
Cell D1:
=SUMPRODUCT(--($B$1:$B1=$B1))
Copied down to D4
Cell G1:
=SUMPRODUCT($A$1:$A$4,--($B$1:$B$4=Sheet2!$A$1),--($D$1:$D$4=$A1))
Copied down to G4
Sheet 2:
Cell A1:
alpha (or whichever of the other letters)
Cell B1:
=VLOOKUP(Sheet1!$G1,Sheet1!$A$1:$C$4,3)
Copied down to B4


"Jaytee" wrote:

Let's say I have several rental houses. Column "A" lists house names from a
guest survey. Column C lists Comments on the house from a guest survey. On a
seperate worksheet, I want to type in the name of a house, and have excel
list all the comments that pertain to that house.

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
Formulas dealing with text data Bagia Excel Worksheet Functions 6 June 20th 05 10:29 PM
Quick way to sort lists by text color? PokerZan Excel Discussion (Misc queries) 3 June 3rd 05 01:09 AM
using formula to compare two text lists that are not alike and ma. Maggie Excel Worksheet Functions 7 April 14th 05 06:52 PM
Sort or Filter option? Mcobra41 Excel Worksheet Functions 3 February 23rd 05 07:22 PM
Format text based on which of several unique lists the value belongs to? [email protected] Excel Worksheet Functions 2 December 13th 04 11:23 PM


All times are GMT +1. The time now is 08:07 PM.

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

About Us

"It's about Microsoft Excel"