Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Debbie
 
Posts: n/a
Default Vlookup on multiple cells

=VLOOKUP(C4,'Named Fields'!AH3:AM116,6,FALSE)

Hi, and thanks in advance for your help.
I have the above formula set in a workbook.
I have sheet 1 with my main information.
I have sheet 2 with all my directives.

So, I have set up as follows:

sheet 1 contains:
cell c3= client
cell c4= project
The vlookup I have entered in cell c5 is to return a job number based on the
project in cell c4 which is listed on sheet2.
Problem is, I have multiple projects named the same. They're under different
clients.
I found a post that said I could use:

=vlookup(C3&C4,'Named Fields'!AH3:AM116,6,FALSE)

But that didn't work.

Is there any way to have vlookup find what's in cell C3, then proceed to
cell C4 to returns the results in the 6th column?

Thanks,

Debbie

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Marcelo
 
Posts: n/a
Default Vlookup on multiple cells

Hi Debbie,

if on the column h you have figures, try to use sumproduct as

sumproduct(--(c7:c20="client")*(d7:d20="project"),(h7:h20))

hope this helps
regards from Brazil
Marcelo

"Debbie" escreveu:

=VLOOKUP(C4,'Named Fields'!AH3:AM116,6,FALSE)

Hi, and thanks in advance for your help.
I have the above formula set in a workbook.
I have sheet 1 with my main information.
I have sheet 2 with all my directives.

So, I have set up as follows:

sheet 1 contains:
cell c3= client
cell c4= project
The vlookup I have entered in cell c5 is to return a job number based on the
project in cell c4 which is listed on sheet2.
Problem is, I have multiple projects named the same. They're under different
clients.
I found a post that said I could use:

=vlookup(C3&C4,'Named Fields'!AH3:AM116,6,FALSE)

But that didn't work.

Is there any way to have vlookup find what's in cell C3, then proceed to
cell C4 to returns the results in the 6th column?

Thanks,

Debbie

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Franz Verga
 
Posts: n/a
Default Vlookup on multiple cells

Nel post
*Marcelo* ha scritto:

Hi Debbie,

if on the column h you have figures, try to use sumproduct as

sumproduct(--(c7:c20="client")*(d7:d20="project"),(h7:h20))


Hi Marcelo,

In this case you don't need "--". You can use sumproduct function in may
ways:

sumproduct(--(c7:c20="client"),--(d7:d20="project"),(h7:h20))

or

sumproduct((c7:c20="client")*(d7:d20="project"),(h 7:h20))

or also

sumproduct((c7:c20="client")*(d7:d20="project")*(h 7:h20))

But last one could produce errors if (h7:h20) contain a single text entry.

--
Hope I helped you.

Thanks in advance for your feedback.

Ciao

Franz Verga from Italy


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Debbie
 
Posts: n/a
Default Vlookup on multiple cells

Marcelo and Franz,

Thanks but these didn't help.
Any other suggestions?



"Franz Verga" wrote:

Nel post
*Marcelo* ha scritto:

Hi Debbie,

if on the column h you have figures, try to use sumproduct as

sumproduct(--(c7:c20="client")*(d7:d20="project"),(h7:h20))


Hi Marcelo,

In this case you don't need "--". You can use sumproduct function in may
ways:

sumproduct(--(c7:c20="client"),--(d7:d20="project"),(h7:h20))

or

sumproduct((c7:c20="client")*(d7:d20="project"),(h 7:h20))

or also

sumproduct((c7:c20="client")*(d7:d20="project")*(h 7:h20))

But last one could produce errors if (h7:h20) contain a single text entry.

--
Hope I helped you.

Thanks in advance for your feedback.

Ciao

Franz Verga from Italy



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Franz Verga
 
Posts: n/a
Default Vlookup on multiple cells

Nel post
*Debbie* ha scritto:


"Franz Verga" wrote:

Nel post
*Marcelo* ha scritto:

Hi Debbie,

if on the column h you have figures, try to use sumproduct as

sumproduct(--(c7:c20="client")*(d7:d20="project"),(h7:h20))


Hi Marcelo,

In this case you don't need "--". You can use sumproduct function in
may ways:

sumproduct(--(c7:c20="client"),--(d7:d20="project"),(h7:h20))

or

sumproduct((c7:c20="client")*(d7:d20="project"),(h 7:h20))

or also

sumproduct((c7:c20="client")*(d7:d20="project")*(h 7:h20))

But last one could produce errors if (h7:h20) contain a single text
entry.

--
Hope I helped you.

Thanks in advance for your feedback.

Ciao

Franz Verga from Italy


Marcelo and Franz,

Thanks but these didn't help.
Any other suggestions?


Why didn't help? What is the result?


--
Hope I helped you.

Thanks in advance for your feedback.

Ciao

Franz Verga from Italy




  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Debbie
 
Posts: n/a
Default Vlookup on multiple cells

I got #Value when I used that code.


"Franz Verga" wrote:

Nel post
*Debbie* ha scritto:


"Franz Verga" wrote:

Nel post
*Marcelo* ha scritto:

Hi Debbie,

if on the column h you have figures, try to use sumproduct as

sumproduct(--(c7:c20="client")*(d7:d20="project"),(h7:h20))

Hi Marcelo,

In this case you don't need "--". You can use sumproduct function in
may ways:

sumproduct(--(c7:c20="client"),--(d7:d20="project"),(h7:h20))

or

sumproduct((c7:c20="client")*(d7:d20="project"),(h 7:h20))

or also

sumproduct((c7:c20="client")*(d7:d20="project")*(h 7:h20))

But last one could produce errors if (h7:h20) contain a single text
entry.

--
Hope I helped you.

Thanks in advance for your feedback.

Ciao

Franz Verga from Italy


Marcelo and Franz,

Thanks but these didn't help.
Any other suggestions?


Why didn't help? What is the result?


--
Hope I helped you.

Thanks in advance for your feedback.

Ciao

Franz Verga from Italy



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
Using VLOOKUP with abitlity to choose from multiple defined names. Armando Excel Worksheet Functions 5 February 26th 06 10:18 PM
VLOOKUP - Multiple cells in lookup value RMF Excel Worksheet Functions 1 January 23rd 06 10:28 AM
Count if cells have multiple data telewats Excel Worksheet Functions 2 January 20th 06 10:30 PM
make multiple cells in 1 worksheet equal multiple cells in another riley454 Excel Worksheet Functions 1 January 19th 06 03:00 PM
Converting a link to values to multiple cells. Cesar_us Excel Worksheet Functions 1 June 22nd 05 09:37 PM


All times are GMT +1. The time now is 11:39 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"