Formula Help, Please

Joe Galvan

Board Regular
Joined
Jun 24, 2008
Messages
152
I have this formula;

=IF(ROWS($AT$9:AT9)<=$AT$4,SMALL(IF(Table_Query_from_TDGSADTS[F1ALTF]<=$AT$3,IF(Table_Query_from_TDGSADTS[F1CPND]=0,ROW(Table_Query_from_TDGSADTS[F1ALTF])-ROW($F$2)+1)),ROWS($AT$9:AT9)),"")


I am trying to stick in a listing string, as underlined below;

IF(Table_Query_from_TDGSADTS[F1PTYP]={"L","F"}

I keep getting errors?? I know this type of listing sting can be tempermental in some formulas...

Any Ideas on how to stick something similar into the IF(ROWS function above? It would be inputed as another IF statment in the first formula....



thanks in Advance,
JOE
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
I have no idea what your function is doing, or meant to do, but the error might be because you need to wrap that condition in an OR statement:

IF(OR(Table_Query_from_TDGSADTS[F1PTYP]={"L","F"})
 
Upvote 0
I have this formula;

=IF(ROWS($AT$9:AT9)<=$AT$4,SMALL(IF(Table_Query_from_TDGSADTS[F1ALTF]<=$AT$3,IF(Table_Query_from_TDGSADTS[F1CPND]=0,ROW(Table_Query_from_TDGSADTS[F1ALTF])-ROW($F$2)+1)),ROWS($AT$9:AT9)),"")


I am trying to stick in a listing string, as underlined below;

IF(Table_Query_from_TDGSADTS[F1PTYP]={"L","F"}

I keep getting errors?? I know this type of listing sting can be tempermental in some formulas...

Any Ideas on how to stick something similar into the IF(ROWS function above? It would be inputed as another IF statment in the first formula....



thanks in Advance,
JOE
Try it like this...

IF(ISNUMBER(MATCH(Table_Query_from_TDGSADTS[F1PTYP],{"L","F"},0)))
 
Upvote 0
Mr Knowz... its just one formula in a listing function...



T. Valko...Your addition worked perfectly... THANKS!
 
Upvote 0

Forum statistics

Threads
1,224,586
Messages
6,179,729
Members
452,939
Latest member
WCrawford

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top