LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Lookup function using 2 variables

I am trying to create a formula to do the following:

I have a data sheet that contains cost information. The information
contains a project number and an account number. I want a "nested lookup"
type of function that says, "If the project number equals X and the account
number equals y, give me the sum of the records. I have a sheet for each
project and the project number is in a cell that will be referenced in the
formula. Multiple account numbers are in each project sheet and those will
be used as references, also. The goal is to set up formulas that use lookup
functionality so I can import a data sheet every month and just do a mass
search and replace for the new sheet name in the formula, but no formula
adjustments are needed. I have experimented with sumif, index, nested If
statements, combinations using sum with and functions, etc. I haven't yet
found the answer, but I'm sure someone has. Any help would be appreciated.
 
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
Lookup with Variables rlee1999 Excel Worksheet Functions 2 October 25th 06 10:01 PM
lookup 2 variables KarenF Excel Discussion (Misc queries) 1 August 28th 06 04:10 PM
can't figure out LOOKUP with 2 variables LTUser54 Excel Discussion (Misc queries) 1 May 30th 06 07:41 PM
Lookup (multiple variables) stevenpwhite Excel Worksheet Functions 2 December 16th 05 11:03 AM
<> Scooterdog Excel Worksheet Functions 3 November 12th 04 05:19 PM


All times are GMT +1. The time now is 08:10 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"