#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 32
Default vlookup sum()?

Hello,

Could anyone help?

I have a data such as:

2007M01 2007M02 2007M03

XXXX 4 8 7

And I would like to vlookup the value for XXXX, but as a combined quater
data: meaning sum(MO1,M02,M03).
Could someone, help me?

Thank you in advance!

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default vlookup sum()?

I found it - you basically need to add vlookupM01 +VlookupM02 etc:)

"Claudia" wrote:

Hello,

Could anyone help?

I have a data such as:

2007M01 2007M02 2007M03

XXXX 4 8 7

And I would like to vlookup the value for XXXX, but as a combined quater
data: meaning sum(MO1,M02,M03).
Could someone, help me?

Thank you in advance!

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 37
Default vlookup sum()?

try:
=SUMPRODCUT((A:A="xxxx")*B:D)


--
Regards,

Sebation.G
"Claudia" ...
Hello,

Could anyone help?

I have a data such as:

2007M01 2007M02 2007M03

XXXX 4 8 7

And I would like to vlookup the value for XXXX, but as a combined quater
data: meaning sum(MO1,M02,M03).
Could someone, help me?

Thank you in advance!



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,886
Default vlookup sum()?

Hi Claudia

Provided you enter your XXXX as a Text value, e.g. '2007
then
=SUMPRODUCT((LEFT(B$1:N$1,4)=A2)*(RIGHT(B$1:N$1,2) ="01")*
(RIGHT(B$1:N$1,2)<="03")*$B2:$N2)

--
Regards

Roger Govier


"Claudia" wrote in message
...
Hello,

Could anyone help?

I have a data such as:

2007M01 2007M02 2007M03

XXXX 4 8 7

And I would like to vlookup the value for XXXX, but as a combined
quater
data: meaning sum(MO1,M02,M03).
Could someone, help me?

Thank you in advance!



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default vlookup sum()?

Thank you everyone!

"Roger Govier" wrote:

Hi Claudia

Provided you enter your XXXX as a Text value, e.g. '2007
then
=SUMPRODUCT((LEFT(B$1:N$1,4)=A2)*(RIGHT(B$1:N$1,2) ="01")*
(RIGHT(B$1:N$1,2)<="03")*$B2:$N2)

--
Regards

Roger Govier


"Claudia" wrote in message
...
Hello,

Could anyone help?

I have a data such as:

2007M01 2007M02 2007M03

XXXX 4 8 7

And I would like to vlookup the value for XXXX, but as a combined
quater
data: meaning sum(MO1,M02,M03).
Could someone, help me?

Thank you in advance!




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
Combine VLOOKUP and IF function so #NA isn't returned as a value from VLOOKUP buffgirl71 Excel Discussion (Misc queries) 12 November 14th 06 11:36 PM
Vlookup -=VLOOKUP(F9,LookUp1!$A$2:$B$1504,2,FALSE) MikeR-Oz New Users to Excel 1 March 22nd 06 09:01 AM
IF(a1="x",(vlookup 18K rows,2,false),(vlookup 18K,3,false)) RAM? bchilt Excel Worksheet Functions 6 January 20th 06 09:21 AM
IF(AND(val1=VLOOKUP( );val2>=VLOOKUP( );val2<=VLOOKUP( );VLOOKUP( Oso Excel Worksheet Functions 2 January 26th 05 06:56 AM
Vlookup info being used without vlookup table attached? Excel Worksheet Functions 0 January 25th 05 10:43 AM


All times are GMT +1. The time now is 06:08 AM.

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"