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

I am trying to set up a formula that would search cells in a column for
specific text (a range of general ledger codes). If the text is found, I need
it to trigger a calulation of cells in the specfic row in order to determine
the grand total for the spreadsheet.

For example, for every row in column B, if the text 1021-10 is found,
subtract column G from column F in order to provide the grand total for
1021-10. If the formula could be set up to search for multiple general ledger
codes i.e. 1021-10, 1021-12, etc. to provide a cumulative total,that would be
even better.

Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
CLR
 
Posts: n/a
Default formula help

=SUMIF(B:B,"1021-10",F:F)-SUMIF(B:B,"1021-10",G:G)

Vaya con Dios,
Chuck, CABGx3



"MJ" wrote:

I am trying to set up a formula that would search cells in a column for
specific text (a range of general ledger codes). If the text is found, I need
it to trigger a calulation of cells in the specfic row in order to determine
the grand total for the spreadsheet.

For example, for every row in column B, if the text 1021-10 is found,
subtract column G from column F in order to provide the grand total for
1021-10. If the formula could be set up to search for multiple general ledger
codes i.e. 1021-10, 1021-12, etc. to provide a cumulative total,that would be
even better.

Thanks!

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
Dynamic Range with unused formula messing up x axis on dynamic graph [email protected] Charts and Charting in Excel 2 February 2nd 06 08:02 PM
2 Nesting questions Starchaser Excel Worksheet Functions 7 January 20th 06 06:53 PM
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 12:58 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"