Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 26
Default How to choose a qualifier from different set of criteria or combinations

On Wednesday, January 16, 2019 at 11:47:23 PM UTC+5:30, MyVeryOwnSelf wrote:
Is this assigning of 1,2,4,8, in anyway related to the
maximum no. of combinations of 4 conditions?


Yes. (--A1--2*B1--4*C1--8*D1) is using binary arithmetic to get a 4-bit number with each bit representing one condition, TRUE or FALSE. The values are 0, 1, 2, 3, 4, ..., 15. If there were 5 conditions, we'd use 1,2,4,8,16 and the values would be 0, 1, 2, 3, 4, ..., 33.

In this situation, we could actually use regular old decimal arithmetic (--A1--10*B1--100*C1--1000*D1) to get values (0, 1, 10, 11, 100, ..., 1111) and the list would be {1111, 1101, 0110, 1011, 0101, 1100}.


I was trying to use the "Choose" function ...


MATCH works well (compared with CHOOSE) only because the decision numbers are small integers.


Thanks for the clarification
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
choose range based on criteria Ivanl Excel Programming 1 May 13th 09 06:01 PM
get a value from multiple criteria combinations ladygr Excel Worksheet Functions 5 February 7th 07 10:19 PM
Creating combinations based on a criteria Maxi[_2_] Excel Programming 6 February 26th 06 01:56 PM
Invalid Qualifier Stuart[_21_] Excel Programming 4 April 21st 05 03:07 PM
Invalid Qualifier??? Michael Vaughan Excel Programming 1 November 29th 04 11:46 AM


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