Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
johnsvolition
 
Posts: n/a
Default Looking for function to pick out names and at values from the same row


Say I have 3 Rows:

Income | Expanses | Memo
| 10.00 | Food
| 5.00 | Gas
| 15.00| Food

Now I'm looking for a function that searches for a string such as
"Food" and then add all Values of the Expanses Tab of this certain tab,
so that all values of Food will be added automatically so that the
result of this would be 25.00...

I would really appreciate any help


--
johnsvolition
------------------------------------------------------------------------
johnsvolition's Profile: http://www.excelforum.com/member.php...o&userid=27263
View this thread: http://www.excelforum.com/showthread...hreadid=467730

  #2   Report Post  
Max
 
Posts: n/a
Default

Assuming the table is in cols A to C, data from row2 down

Income | Expanses | Memo
| 10.00 | Food
| 5.00 | Gas
| 15.00| Food


Assume in say, E1 down is listed the text: Food, Gas, etc

Put in F1:
=SUMPRODUCT(--(ISNUMBER(SEARCH(E1,$C$2:$C$10))),$B$2:$B$10)
Copy F1 down

Col F will return the required results

Adapt the ranges to suit, but note that entire col references
cannot be used in SUMPRODUCT

And if the string search needs to be case sensitive,
replace SEARCH with FIND in the formula
(FIND is case sensitive)
--
Rgds
Max
xl 97
---
Singapore, GMT+8
xdemechanik
http://savefile.com/projects/236895
--
"johnsvolition"
wrote in message
news:johnsvolition.1vdo6c_1126749938.7368@excelfor um-nospam.com...

Say I have 3 Rows:

Income | Expanses | Memo
| 10.00 | Food
| 5.00 | Gas
| 15.00| Food

Now I'm looking for a function that searches for a string such as
"Food" and then add all Values of the Expanses Tab of this certain tab,
so that all values of Food will be added automatically so that the
result of this would be 25.00...

I would really appreciate any help


--
johnsvolition
------------------------------------------------------------------------
johnsvolition's Profile:

http://www.excelforum.com/member.php...o&userid=27263
View this thread: http://www.excelforum.com/showthread...hreadid=467730



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
find names on list 1 in list 2. list 1 4000 names list 2 400 name Ed Excel Worksheet Functions 1 September 4th 05 12:48 AM
Finding Duplicate Names from Different Lists... PokerZan Excel Discussion (Misc queries) 1 July 8th 05 09:58 AM
Making pick list conditional on selection from previous pick list Stewart Excel Discussion (Misc queries) 1 June 27th 05 11:30 AM
sorting names alphabetically when names may start with numbers John Smith Excel Discussion (Misc queries) 3 May 11th 05 08:06 PM
How can I find the common names in two columns of names? hako Excel Discussion (Misc queries) 2 December 8th 04 01:59 AM


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