#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
hogiejax
 
Posts: n/a
Default Formula help


Hi everyone!

I am setting up a monthly personal budget in Excel, and I wanted to set
the spreadsheet to automatically pull totals from my checkbook (in
another Excel file) based on categories. In other words, my budget
would have a section for "gasoline" and the formula would search my
checkbook for "gasoline" items and then pull the totals from that
category over to the budget automatically. Does this make sense at
all? If so, let me know if there is a possible way to do
this.


--
hogiejax
------------------------------------------------------------------------
hogiejax's Profile: http://www.excelforum.com/member.php...o&userid=35071
View this thread: http://www.excelforum.com/showthread...hreadid=548161

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JMB
 
Posts: n/a
Default Formula help

If your descriptions are in Sheet1 A1:A6, and amounts in Sheet1 B1:B6, try:

=SUMPRODUCT(--(ISNUMBER(SEARCH("gasoline",[Checkbook.xls]Sheet1!A1:A6,1))),[Checkbook.xls]Sheet1!B1:B6)

Change source workbook, worksheet, and range references as needed.
Sumproduct cannot accomodate an entire column (A:A, A1:A65536)


"hogiejax" wrote:


Hi everyone!

I am setting up a monthly personal budget in Excel, and I wanted to set
the spreadsheet to automatically pull totals from my checkbook (in
another Excel file) based on categories. In other words, my budget
would have a section for "gasoline" and the formula would search my
checkbook for "gasoline" items and then pull the totals from that
category over to the budget automatically. Does this make sense at
all? If so, let me know if there is a possible way to do
this.


--
hogiejax
------------------------------------------------------------------------
hogiejax's Profile: http://www.excelforum.com/member.php...o&userid=35071
View this thread: http://www.excelforum.com/showthread...hreadid=548161


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
2 Nesting questions Starchaser Excel Worksheet Functions 7 January 20th 06 06:53 PM
Match then lookup Tenacity Excel Worksheet Functions 9 December 3rd 05 05:30 AM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM


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