ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Is there a way do to this without array formula or vlookup (https://www.excelbanter.com/excel-discussion-misc-queries/225033-there-way-do-without-array-formula-vlookup.html)

Brad

Is there a way do to this without array formula or vlookup
 
{=IF(OR(C5=InpBox7),1,0)}
works
=IF(OR(C5={16,17},1,0)
works
Can a formula be written without using vlookup or array formula's and using
InpBox7 ?

InpBox7 is a range name of two cell with the values 16,17


--
Wag more, bark less

Brad

Is there a way do to this without array formula or vlookup
 
one way
=SUMPRODUCT(--(InpBox2='1STqtrTax'!C7))

Are there better ways? (Isn't SUMPRODUCT truly an array formula?

--
Wag more, bark less


"Brad" wrote:

{=IF(OR(C5=InpBox7),1,0)}
works
=IF(OR(C5={16,17},1,0)
works
Can a formula be written without using vlookup or array formula's and using
InpBox7 ?

InpBox7 is a range name of two cell with the values 16,17


--
Wag more, bark less



All times are GMT +1. The time now is 11:45 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com