Hi,
I need to multiply an array of logical results ( returned as {1,0,0,0,1,0 et.}) with a text array (a reference column) and return the text in the reference column in case the value in the logical array is 1.
-Sandy
Hi,
I need to multiply an array of logical results ( returned as {1,0,0,0,1,0 et.}) with a text array (a reference column) and return the text in the reference column in case the value in the logical array is 1.
-Sandy
Last edited by san000; 08-16-2009 at 10:10 PM.
To best describe or illustrate your problem you would be better off attaching a dummy workbook, the workbook should contain the same structure and some dummy data of the same type as the type you have in your real workbook - so, if a cell contains numbers & letters in this format abc-123 then that should be reflected in the dummy workbook.
If needed supply a before and after sheet in the workbook so the person helping you can see what you are trying to achieve.
My Recommended Reading:
Volatility
Sumproduct & Arrays
Pivot Intro
Email from XL - VBA & Outlook VBA
Function Dictionary & Function Translations
Dynamic Named Ranges
Donkeyote,
Thx for the advice..I have attached a worksheet..different parameters like height, weight etc. are available for 5 people. Some of these are compulsory requirements. The data specifies if each person complies or not with the requirement. In the last cell of each row I need to display the list of names which do not comply for requirements which are compulsory.....hope this is clear...
- Sandeep
Unfortunately XL is not very good at generating strings like that... if you do really only have a few possibilities (ie 4 names) then a traditional approach would be something along the lines of:
Anything too vast would generally warrant a UDF .. there are quite a few UDF's out there for this type of thing... there's also Laurent Longre's morefunc.xll add-in which has the MCONCAT function which could be used along the lines of:Please Login or Register to view this content.
Please Login or Register to view this content.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks