MrExcel Message Board


Go Back   MrExcel Message Board > Question Forums > Excel Questions

Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old Aug 6th, 2002, 07:35 PM   #1
LWest
 
Join Date: Jul 2002
Location: Chicago, Illinois
Posts: 5
Default

I posted this question before, however, the response was not exactly what I needed. As I still haven't figured out a solution, I will try to post the question again, and hopefully I can explain what I am trying to do a little better.

I am trying to add the summation function to a formula that has the vlookup function within it.

Here is an example:

Unit 1 Unit 2 Unit 3 Unit 4
income 5 4 3 2

I am trying to add the income for each of the 4 units using the vlookup function against income. So, my formula currently is as follows:

=vlookup("income",file,inc,2,false)+vlookup("income",file,inc,3,false)+vlookup("income",file,inc,4,false)+vlookup("income",file,inc,5,false)

In my live file; however, excel limits how many of these you can have and I receive a message stating my formula is too long. I thought there would be a way to add the sum function to this, but I cannot seem to get it correct. Any help would be appreciated. Thanks!
LWest is offline   Reply With Quote
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT +1. The time now is 10:15 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
All contents Copyright 1998-2009 by MrExcel Consulting.