#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 89
Default Vlookup

I need a VLOOKUP formula that to find August month in the column and to add
sum only August month in a sheet

In my formula B2 is the month I request MID is sheet I request to find
august month and add sum only August

=VLOOKUP(B2,MTD!A4:AZ400,2,FALSE)



  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,339
Default Vlookup

VLOOKUP only returns a single value so you cannot sum. If I understand
correctly, you want to check column A (I assume formatted as DATE?) for month
in B2 and then sum values in column B

try:

=SUMPRODUCT(--(month(mid!A4:A400)=B2),B4:B400)

B2=8 (for August)

HTH

"George A. Jululian" wrote:

I need a VLOOKUP formula that to find August month in the column and to add
sum only August month in a sheet

In my formula B2 is the month I request MID is sheet I request to find
august month and add sum only August

=VLOOKUP(B2,MTD!A4:AZ400,2,FALSE)



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 477
Default Vlookup

If B2 = August << as Text or July, June << you supply
You can use the Sumif()

thusly,

=SUMIF(C4:C10,B2,D4:D10)

Jim May

"George A. Jululian" wrote:

I need a VLOOKUP formula that to find August month in the column and to add
sum only August month in a sheet

In my formula B2 is the month I request MID is sheet I request to find
august month and add sum only August

=VLOOKUP(B2,MTD!A4:AZ400,2,FALSE)



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 89
Default Vlookup

Many thanks for your help

"Toppers" wrote:

VLOOKUP only returns a single value so you cannot sum. If I understand
correctly, you want to check column A (I assume formatted as DATE?) for month
in B2 and then sum values in column B

try:

=SUMPRODUCT(--(month(mid!A4:A400)=B2),B4:B400)

B2=8 (for August)

HTH

"George A. Jululian" wrote:

I need a VLOOKUP formula that to find August month in the column and to add
sum only August month in a sheet

In my formula B2 is the month I request MID is sheet I request to find
august month and add sum only August

=VLOOKUP(B2,MTD!A4:AZ400,2,FALSE)



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 89
Default Vlookup

Many thanks for your help

"Jim May" wrote:

If B2 = August << as Text or July, June << you supply
You can use the Sumif()

thusly,

=SUMIF(C4:C10,B2,D4:D10)

Jim May

"George A. Jululian" wrote:

I need a VLOOKUP formula that to find August month in the column and to add
sum only August month in a sheet

In my formula B2 is the month I request MID is sheet I request to find
august month and add sum only August

=VLOOKUP(B2,MTD!A4:AZ400,2,FALSE)



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
Vlookup in vlookup - taking the result as array name SupperDuck Excel Worksheet Functions 2 June 2nd 07 11:05 AM
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(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 12:14 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"