Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 54
Default Formula for vlookup and then sum

Hello. I need a formula to do a vlookup for whenever a certain cost
code/cost type appears in column A, then go to column F and sum the dollar
amounts. Help please :)
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,501
Default Formula for vlookup and then sum

Hi,

You can only use full columns in E2007 for E2003 and earlier define a
shorter range

=SUMPRODUCT((A:A="Your cost code")*(F:F))

Mike

"Alberta Rose" wrote:

Hello. I need a formula to do a vlookup for whenever a certain cost
code/cost type appears in column A, then go to column F and sum the dollar
amounts. Help please :)

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,049
Default Formula for vlookup and then sum

2003
use array formula
{ =SUM((A1:A1000="A")*(F1:F1000)) }

note that you need to stipulate the rows ... blank rows are fine, so just
make the area quite large

"Alberta Rose" wrote in message
...
Hello. I need a formula to do a vlookup for whenever a certain cost
code/cost type appears in column A, then go to column F and sum the dollar
amounts. Help please :)


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
How do I combine a VLOOKUP formula and a NETWORKDAYS formula? Tracy Excel Worksheet Functions 2 October 15th 09 04:14 PM
Link an IF formula with a cell containing a Vlookup formula Arno Excel Programming 4 November 25th 08 08:28 PM
Alternative formula to the vlookup formula? Victor Excel Worksheet Functions 2 May 12th 08 04:38 PM
convert vlookup formula to link formula AFA Excel Worksheet Functions 0 February 20th 08 04:24 AM
Excel 2002 VLOOKUP formula or other formula Serge Excel Discussion (Misc queries) 4 February 26th 07 03:56 PM


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