#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 149
Default help./

hello....please help me on this one :
i have the following correct formula :

=INDEX(B$1:B$7,SMALL(IF(($A$1:$A$7=$G$1)+($A$1:$A$ 7=$G$2)+($A$1:$A$7=$G$3),ROW(B$1:B$7)),ROWS(B$1:B1 )))

is there any way to make THIS part :
if(($A$1:$A$7=$G$1)+($A$1:$A$7=$G$2)+($A$1:$A$7=$G $3) in a way to be SHORTER
????
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,268
Default help./

=INDEX(B$1:B$7,SMALL(IF(($A$1:$A$7=TRANSPOSE($G$1: $G$3)),ROW(B$1:B$7)),ROWS(B$1:B1)))


Array entered


--


Regards,


Peo Sjoblom




"pierre" wrote in message
...
hello....please help me on this one :
i have the following correct formula :

=INDEX(B$1:B$7,SMALL(IF(($A$1:$A$7=$G$1)+($A$1:$A$ 7=$G$2)+($A$1:$A$7=$G$3),ROW(B$1:B$7)),ROWS(B$1:B1 )))

is there any way to make THIS part :
if(($A$1:$A$7=$G$1)+($A$1:$A$7=$G$2)+($A$1:$A$7=$G $3) in a way to be
SHORTER
????



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 149
Default help./


THANK YOU VERY MUCH.......it worked smoothly.......
thankxxx ;)
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 149
Default help./

please one more little thing :(related to my precedent issue)
how to resolve this equation in a shorter way ??
if(($A$1:$A$7="aa")+($A$1:$A$7="bb")+($A$1:$A$7="c c")

THANK YOU
  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,268
Default help./

($A$1:$A$7={"aa","bb","cc"})


--


Regards,


Peo Sjoblom


"pierre" wrote in message
...
please one more little thing :(related to my precedent issue)
how to resolve this equation in a shorter way ??
if(($A$1:$A$7="aa")+($A$1:$A$7="bb")+($A$1:$A$7="c c")

THANK YOU



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



All times are GMT +1. The time now is 01:54 AM.

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"