Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 106
Default EXCEL FORMULA , MEET 2 CRITERIA THEN SUM

I would like column H to be searched to find xxxx, then when that is found, I
would like column J same row to be searched to find xxxxxxxxxxx, then I would
like to place the amount found in column L five rows below the finding into
another excel spreadsheet.

ie. H10 XXXXX, J10 XXXXXXXX, if true then contents of L15 (numerical) to be
placed into another worksheet.

I'm not sure what formula to use other than SUMIF to get the contents of
L15; I have SUMIF(J:J,TRUE,OFFSET(L1,5)...I think this is identifying only
the J column criteria as true, I need H column to be true as well. Is this
the right way to move to L column and go down 5 rows to get the amount ? I
would appreciate help writing in the proper syntax. Is this one formula ?
how do I write it ?


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,240
Default EXCEL FORMULA , MEET 2 CRITERIA THEN SUM

Elaine wrote:
I would like column H to be searched to find xxxx, then when that is found, I
would like column J same row to be searched to find xxxxxxxxxxx, then I would
like to place the amount found in column L five rows below the finding into
another excel spreadsheet.

ie. H10 XXXXX, J10 XXXXXXXX, if true then contents of L15 (numerical) to be
placed into another worksheet.

I'm not sure what formula to use other than SUMIF to get the contents of
L15; I have SUMIF(J:J,TRUE,OFFSET(L1,5)...I think this is identifying only
the J column criteria as true, I need H column to be true as well. Is this
the right way to move to L column and go down 5 rows to get the amount ? I
would appreciate help writing in the proper syntax. Is this one formula ?
how do I write it ?



Look at SUMPRODUCT() at the following:

http://www.contextures.com/xlFunctions01.html
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,240
Default EXCEL FORMULA , MEET 2 CRITERIA THEN SUM

Glenn wrote:
Elaine wrote:
I would like column H to be searched to find xxxx, then when that is
found, I would like column J same row to be searched to find
xxxxxxxxxxx, then I would like to place the amount found in column L
five rows below the finding into another excel spreadsheet.

ie. H10 XXXXX, J10 XXXXXXXX, if true then contents of L15 (numerical)
to be placed into another worksheet.

I'm not sure what formula to use other than SUMIF to get the contents
of L15; I have SUMIF(J:J,TRUE,OFFSET(L1,5)...I think this is
identifying only the J column criteria as true, I need H column to be
true as well. Is this the right way to move to L column and go down 5
rows to get the amount ? I would appreciate help writing in the
proper syntax. Is this one formula ? how do I write it ?



Look at SUMPRODUCT() at the following:

http://www.contextures.com/xlFunctions01.html


Sorry, didn't read this correctly.
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default EXCEL FORMULA , MEET 2 CRITERIA THEN SUM

Very easy with a "helper" column. Say we use column M; in M1 enter:
=L5 and copy down.

Next switch-on AutoFilter and set the criteria for columns H & J. Only the
"good" rows will be displayed and col M will list all your desired values.
--
Gary''s Student - gsnu200816


"Elaine" wrote:

I would like column H to be searched to find xxxx, then when that is found, I
would like column J same row to be searched to find xxxxxxxxxxx, then I would
like to place the amount found in column L five rows below the finding into
another excel spreadsheet.

ie. H10 XXXXX, J10 XXXXXXXX, if true then contents of L15 (numerical) to be
placed into another worksheet.

I'm not sure what formula to use other than SUMIF to get the contents of
L15; I have SUMIF(J:J,TRUE,OFFSET(L1,5)...I think this is identifying only
the J column criteria as true, I need H column to be true as well. Is this
the right way to move to L column and go down 5 rows to get the amount ? I
would appreciate help writing in the proper syntax. Is this one formula ?
how do I write it ?


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default EXCEL FORMULA , MEET 2 CRITERIA THEN SUM

=INDEX(L10:L100,MATCH(1,INDEX((H10:H100="xx")*(J10 :J100="xxx"),),)+5)

Adjust to suit


"Elaine" wrote:

I would like column H to be searched to find xxxx, then when that is found, I
would like column J same row to be searched to find xxxxxxxxxxx, then I would
like to place the amount found in column L five rows below the finding into
another excel spreadsheet.

ie. H10 XXXXX, J10 XXXXXXXX, if true then contents of L15 (numerical) to be
placed into another worksheet.

I'm not sure what formula to use other than SUMIF to get the contents of
L15; I have SUMIF(J:J,TRUE,OFFSET(L1,5)...I think this is identifying only
the J column criteria as true, I need H column to be true as well. Is this
the right way to move to L column and go down 5 rows to get the amount ? I
would appreciate help writing in the proper syntax. Is this one formula ?
how do I write it ?




  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 106
Default EXCEL FORMULA , MEET 2 CRITERIA THEN SUM

Thanks so much. I think it works...finally.

"Teethless mama" wrote:

=INDEX(L10:L100,MATCH(1,INDEX((H10:H100="xx")*(J10 :J100="xxx"),),)+5)

Adjust to suit


"Elaine" wrote:

I would like column H to be searched to find xxxx, then when that is found, I
would like column J same row to be searched to find xxxxxxxxxxx, then I would
like to place the amount found in column L five rows below the finding into
another excel spreadsheet.

ie. H10 XXXXX, J10 XXXXXXXX, if true then contents of L15 (numerical) to be
placed into another worksheet.

I'm not sure what formula to use other than SUMIF to get the contents of
L15; I have SUMIF(J:J,TRUE,OFFSET(L1,5)...I think this is identifying only
the J column criteria as true, I need H column to be true as well. Is this
the right way to move to L column and go down 5 rows to get the amount ? I
would appreciate help writing in the proper syntax. Is this one formula ?
how do I write it ?


  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default EXCEL FORMULA , MEET 2 CRITERIA THEN SUM

You're Welcome!


"Elaine" wrote:

Thanks so much. I think it works...finally.

"Teethless mama" wrote:

=INDEX(L10:L100,MATCH(1,INDEX((H10:H100="xx")*(J10 :J100="xxx"),),)+5)

Adjust to suit


"Elaine" wrote:

I would like column H to be searched to find xxxx, then when that is found, I
would like column J same row to be searched to find xxxxxxxxxxx, then I would
like to place the amount found in column L five rows below the finding into
another excel spreadsheet.

ie. H10 XXXXX, J10 XXXXXXXX, if true then contents of L15 (numerical) to be
placed into another worksheet.

I'm not sure what formula to use other than SUMIF to get the contents of
L15; I have SUMIF(J:J,TRUE,OFFSET(L1,5)...I think this is identifying only
the J column criteria as true, I need H column to be true as well. Is this
the right way to move to L column and go down 5 rows to get the amount ? I
would appreciate help writing in the proper syntax. Is this one formula ?
how do I write it ?


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
how to get the median of cells that meet a given criteria in excel drs207 Excel Worksheet Functions 1 July 17th 08 07:26 PM
How to get Excel to Recalculate a formula if the answer does not meet criteria Al[_2_] Excel Worksheet Functions 2 March 26th 07 10:27 AM
Formula/Macro to delete rows that do not meet criteria from a list? S Davis Excel Worksheet Functions 2 July 12th 06 07:42 PM
Formula that only adds numbers that meet specific criteria Elizabeth Excel Discussion (Misc queries) 10 October 12th 05 11:38 PM
how do an @if formula to meet criteria where x is divisible by 12 lax_fan Excel Worksheet Functions 2 May 16th 05 11:12 PM


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