Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default find common text in cell in column in sheet then return total amou

I want to search for the text in a cell from a column in another sheet, some
of the text will be common but not the same ie Daily Fees in cell, data sheet
will say Daily Fees 6 June 08, or D/E in cell and D/E 14589 in Data Sheet,
How to i create a formula that can search for the words i want in that
column, then return a sum total of everything matched from the amount column.

eg Sheet 1 Sheet 2 - Data Sheet
Description Total
Daily Fees $40.00 Daily Fees 1/6/08 $20.00
Daily Fees 2/6/08 $20.00
D/E $50.00 D/E 245878 $5.00
D/E 45784
$45.00

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default find common text in cell in column in sheet then return total amou

Assume source data in Sheet2's cols A and B is within A2:B10, where col A
contains text like this, eg in A2: Daily Fees 1/6/08, in A3: D/E 245878,
etc, and col B contains the corresponding amounts

In Sheet1,
In A2 down you have the key descript text, eg in A2: Daily Fees, in A3: D/E,
etc
Place in B2:
=SUMPRODUCT(--(ISNUMBER(SEARCH(A2,Sheet2!A$2:A$10))),Sheet2!B$2: B$10)
Copy B2 down to return the required results. Adapt to suit.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"leeona" wrote:
I want to search for the text in a cell from a column in another sheet, some
of the text will be common but not the same ie Daily Fees in cell, data sheet
will say Daily Fees 6 June 08, or D/E in cell and D/E 14589 in Data Sheet,
How to i create a formula that can search for the words i want in that
column, then return a sum total of everything matched from the amount column.

eg Sheet 1 Sheet 2 - Data Sheet
Description Total
Daily Fees $40.00 Daily Fees 1/6/08 $20.00
Daily Fees 2/6/08 $20.00
D/E $50.00 D/E 245878 $5.00
D/E 45784
$45.00

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 max value in one column and return the value of corrosponding cell in different column [email protected] Excel Worksheet Functions 5 October 16th 07 12:33 PM
Find First Non blank cell than find column header and return that value Silver Rose Excel Worksheet Functions 10 April 30th 07 05:56 PM
find text in column h and total the corresponding numbers if colum adelaide Excel Discussion (Misc queries) 2 February 6th 06 04:47 AM
Find certain text in a column and return statement TelecomAuditor Excel Worksheet Functions 4 August 22nd 05 11:00 PM
pmt function in Excel does not return correct monthly payment amou Harraman@Bangalore Excel Worksheet Functions 6 March 3rd 05 01:28 PM


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