WUGNET, the Windows User Group Network
Your Complete Resource Center for "The Best" in Shareware, Computing Tips and Support, Windows Industry News... and much more!
Home Forums Shareware Windows Tips Hot Offers FREE Newsletters Arcade Contact Us About Partners
Search WUGNET: RSS Feeds RSS Feeds Advertise with WUGNET    |    Shareware eBooks
HomeHome FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Search and match two colums give third column result

 
   Home -> Office -> General Discussions RSS
Next:  email entire spreadsheet (unhide rows)  
Author Message
jd64361

External


Since: Nov 18, 2008
Posts: 15



(Msg. 1) Posted: Tue Nov 18, 2008 12:17 pm
Post subject: Search and match two colums give third column result
Archived from groups: microsoft>public>excel>misc (more info?)

Hi everyone:
I have a three column I need a formula that matches decription and
CPT and ii a match found to give the result from category.

Decription CPT Category
1. Exams 99201fp Blue
1. vision 99203O Orange
1. dental 99202n Black
1. Exams 99207p White
1. other 99206h Purple
1. Exams 99208c Red

Thank you,
Back to top
Login to vote
jd64361

External


Since: Nov 18, 2008
Posts: 15



(Msg. 2) Posted: Tue Nov 18, 2008 2:55 pm
Post subject: Re: Search and match two colums give third column result [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Nov 18, 1:10 pm, Dave Peterson <peter... DeleteThis @verizonXSPAM.net> wrote:
> Saved from a previous post:
>
> If you want exact matches for just two columns (and return a value from a
> third), you could use:
>
> =index(othersheet!$c$1:$c$100,
>    match(1,(a2=othersheet!$a$1:$a$100)
>           *(b2=othersheet!$b$1:$b$100),0))
>
> (all in one cell)
>
> This is an array formula.  Hit ctrl-shift-enter instead of enter.  If you do it
> correctly, excel will wrap curly brackets {} around your formula.  (don't type
> them yourself.)
>
> Adjust the range to match--but you can only use the whole column in xl2007.
>
> This returns the value in othersheet column C when column A and B (of
> othersheet) match A2 and B2 of the sheet with the formula.
>
> And you can add more conditions by just adding more stuff to that product
> portion of the formula:
>
> =index(othersheet!$d$1:$d$100,
>    match(1,(a2=othersheet!$a$1:$a$100)
>           *(b2=othersheet!$b$1:$b$100)
>           *(c2=othersheet!$c$1:$c$100),0))
>
> jd64... DeleteThis @gmail.com wrote:
>
> > Hi everyone:
> > I have a three column I need a formula that matches  decription and
> > CPT and ii a match found to give the result from category.
>
> > Decription      CPT     Category
> > 1. Exams        99201fp Blue
> > 1. vision       99203O  Orange
> > 1. dental       99202n  Black
> > 1. Exams        99207p  White
> > 1. other        99206h  Purple
> > 1. Exams        99208c  Red
>
> > Thank you,
>
> --
>
> Dave Peterson

Does not work any one else!!!!
Back to top
Login to vote
Dave Peterson

External


Since: Jul 08, 2005
Posts: 9018



(Msg. 3) Posted: Tue Nov 18, 2008 3:10 pm
Post subject: Re: Search and match two colums give third column result [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Saved from a previous post:

If you want exact matches for just two columns (and return a value from a
third), you could use:

=index(othersheet!$c$1:$c$100,
match(1,(a2=othersheet!$a$1:$a$100)
*(b2=othersheet!$b$1:$b$100),0))

(all in one cell)

This is an array formula. Hit ctrl-shift-enter instead of enter. If you do it
correctly, excel will wrap curly brackets {} around your formula. (don't type
them yourself.)

Adjust the range to match--but you can only use the whole column in xl2007.

This returns the value in othersheet column C when column A and B (of
othersheet) match A2 and B2 of the sheet with the formula.

And you can add more conditions by just adding more stuff to that product
portion of the formula:

=index(othersheet!$d$1:$d$100,
match(1,(a2=othersheet!$a$1:$a$100)
*(b2=othersheet!$b$1:$b$100)
*(c2=othersheet!$c$1:$c$100),0))

jd64361 RemoveThis @gmail.com wrote:
>
> Hi everyone:
> I have a three column I need a formula that matches decription and
> CPT and ii a match found to give the result from category.
>
> Decription CPT Category
> 1. Exams 99201fp Blue
> 1. vision 99203O Orange
> 1. dental 99202n Black
> 1. Exams 99207p White
> 1. other 99206h Purple
> 1. Exams 99208c Red
>
> Thank you,

--

Dave Peterson
Back to top
Login to vote
Dave Peterson

External


Since: Jul 08, 2005
Posts: 9018



(Msg. 4) Posted: Tue Nov 18, 2008 5:09 pm
Post subject: Re: Search and match two colums give third column result [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Works ok for me.

You may want to share what you tried and what happened when you tried it.

jd64361.TakeThisOut@gmail.com wrote:
>
> On Nov 18, 1:10 pm, Dave Peterson <peter....TakeThisOut@verizonXSPAM.net> wrote:
> > Saved from a previous post:
> >
> > If you want exact matches for just two columns (and return a value from a
> > third), you could use:
> >
> > =index(othersheet!$c$1:$c$100,
> > match(1,(a2=othersheet!$a$1:$a$100)
> > *(b2=othersheet!$b$1:$b$100),0))
> >
> > (all in one cell)
> >
> > This is an array formula. Hit ctrl-shift-enter instead of enter. If you do it
> > correctly, excel will wrap curly brackets {} around your formula. (don't type
> > them yourself.)
> >
> > Adjust the range to match--but you can only use the whole column in xl2007.
> >
> > This returns the value in othersheet column C when column A and B (of
> > othersheet) match A2 and B2 of the sheet with the formula.
> >
> > And you can add more conditions by just adding more stuff to that product
> > portion of the formula:
> >
> > =index(othersheet!$d$1:$d$100,
> > match(1,(a2=othersheet!$a$1:$a$100)
> > *(b2=othersheet!$b$1:$b$100)
> > *(c2=othersheet!$c$1:$c$100),0))
> >
> > jd64....TakeThisOut@gmail.com wrote:
> >
> > > Hi everyone:
> > > I have a three column I need a formula that matches decription and
> > > CPT and ii a match found to give the result from category.
> >
> > > Decription CPT Category
> > > 1. Exams 99201fp Blue
> > > 1. vision 99203O Orange
> > > 1. dental 99202n Black
> > > 1. Exams 99207p White
> > > 1. other 99206h Purple
> > > 1. Exams 99208c Red
> >
> > > Thank you,
> >
> > --
> >
> > Dave Peterson
>
> Does not work any one else!!!!

--

Dave Peterson
Back to top
Login to vote
Display posts from previous:   
       Home -> Office -> General Discussions All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Categories:
 Windows XP
 Windows Vista
 Windows Other
  Office
 Office Other
 Security
 WinRAR
  • Home |
  • Shareware |
  • Windows Tips |
  • Hot Offers |
  • FREE Newsletters |
  • Arcade |
  • Forums |
  • eBooks |
  • About WUGNET |
  • Partners |
  • Contact

  • WUGNET Privacy Policy |
  • Link to WUGNET