Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi All,
I would like a flexible Formula to Return the Column Number of individual Numeric Labels and their Numeric Value. I have a 2-Row by many Columns chart/ grid layout. My 1st Column, Column Number "1" is Excel Column Letter "F". Numeric Label 17 is housed in Column Number "12" per my chart , its Numeric Value 5 is housed on the next Row - directly below the Numeric Label. Sample Data: ---------------------Col1 Col2 Col3 Col4 Col5 Col6 Col7 Col8 Col9 Col10 Col11 Col12 Col13 etc -Numeric Label 3 2 6 0 8 4 5 9 11 1 10 17 7 -Numeric Value 18 15 12 11 8 7 7 6 6 5 5 5 4 Scenario: To Return the correct Column Number: locate the Numeric Label 17 and its Numeric Value on the Row below, Numeric Value is 5. The Numeric Value is to be increased by a Value of 1 (one) - NEW Numeric Value = 6. The Column Number Returned should reflect Numeric Label of 17 remains the same but the Numeric Value is increased by one. To Return a Column Number representing the Numeric Label 17 and its original Numeric Value +1 (plus one): the Numeric Label is still 17 but the Numeric Value is NOW 6. From the oringal Column Number that housed Numeric Label 17, that is Column Number "12", SEARCH in Ascending order: moving LEFT from Column Number "12" and using the Numeric Value as the 1st (first) search order and the Numeric Label as the 2nd (second) Ascending search order. SEARCH the Numeric Value Row until the first Numeric Value either equal to 6 or more than 6 is found. Then Return the Column Number of the Column to the Right of that Numeric Value. Required Result: Return the Column Number based on the Numeric Label 17 and the NEW Numeric Value of 6, search in Ascending order - First search order based on Numeric Value 6 - Second search order based on Numeric Label 17. Returned Result should be Column Number 10. Thanks Sam -- Message posted via http://www.officekb.com |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi All,
Apologies for mis-alignment of Sample Data: Column Number 1 Row 10 Houses Numeric Label 3 Column Number 1 Row 11 Houses Numeric Value 18 Column Number 2 Row 10 Houses Numeric Label 2 Column Number 2 Row 11 Houses Numeric Value 15 Column Number 3 Row 10 Houses Numeric Label 6 Column Number 3 Row 11 Houses Numeric Value 12 Column Number 4 Row 10 Houses Numeric Label 0 Column Number 4 Row 11 Houses Numeric Value 11 Column Number 5 Row 10 Houses Numeric Label 8 Column Number 5 Row 11 Houses Numeric Value 8 Column Number 6 Row 10 Houses Numeric Label 4 Column Number 6 Row 11 Houses Numeric Value 7 Column Number 7 Row 10 Houses Numeric Label 5 Column Number 7 Row 11 Houses Numeric Value 7 Column Number 8 Row 10 Houses Numeric Label 9 Column Number 8 Row 11 Houses Numeric Value 6 Column Number 9 Row 10 Houses Numeric Label 11 Column Number 9 Row 11 Houses Numeric Value 6 Column Number 10 Row 10 Houses Numeric Label 1 Column Number 10 Row 11 Houses Numeric Value 5 Column Number 11 Row 10 Houses Numeric Label 10 Column Number 11 Row 11 Houses Numeric Value 5 Column Number 12 Row 10 Houses Numeric Label 17 Column Number 12 Row 11 Houses Numeric Value 5 Column Number 13 Row 10 Houses Numeric Label 7 Column Number 13 Row 11 Houses Numeric Value 4 Thanks Sam Sam wrote: Hi All, I would like a flexible Formula to Return the Column Number of individual Numeric Labels and their Numeric Value. I have a 2-Row by many Columns chart/ grid layout. My 1st Column, Column Number "1" is Excel Column Letter "F". Numeric Label 17 is housed in Column Number "12" per my chart , its Numeric Value 5 is housed on the next Row - directly below the Numeric Label. Sample Data: ---------------------Col1 Col2 Col3 Col4 Col5 Col6 Col7 Col8 Col9 Col10 Col11 Col12 Col13 etc -Numeric Label 3 2 6 0 8 4 5 9 11 1 10 17 7 -Numeric Value 18 15 12 11 8 7 7 6 6 5 5 5 4 Scenario: To Return the correct Column Number: locate the Numeric Label 17 and its Numeric Value on the Row below, Numeric Value is 5. The Numeric Value is to be increased by a Value of 1 (one) - NEW Numeric Value = 6. The Column Number Returned should reflect Numeric Label of 17 remains the same but the Numeric Value is increased by one. To Return a Column Number representing the Numeric Label 17 and its original Numeric Value +1 (plus one): the Numeric Label is still 17 but the Numeric Value is NOW 6. From the oringal Column Number that housed Numeric Label 17, that is Column Number "12", SEARCH in Ascending order: moving LEFT from Column Number "12" and using the Numeric Value as the 1st (first) search order and the Numeric Label as the 2nd (second) Ascending search order. SEARCH the Numeric Value Row until the first Numeric Value either equal to 6 or more than 6 is found. Then Return the Column Number of the Column to the Right of that Numeric Value. Required Result: Return the Column Number based on the Numeric Label 17 and the NEW Numeric Value of 6, search in Ascending order - First search order based on Numeric Value 6 - Second search order based on Numeric Label 17. Returned Result should be Column Number 10. Thanks Sam -- Message posted via http://www.officekb.com |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Try the following...
Let T11 contain your criteria/numerical label U11: =MATCH(T11,$F$10:$R$10,0) This will return the column position. V11: =INDEX(F11:R11,U11)+1 This will return the corresponding value in Row 11, and add 1. W11: =IF(U111,LOOKUP(2,1/(F11:INDEX(F11:R11,U11-1)=V11),COLUMN(F11:INDEX(F11 :R11,U11-1))-COLUMN(F11)+1)+1,#N/A) This will search left for the first column containing a value greater than or equal to V11, return the column position, and add 1. If the column number representing the numeric label is 1, the formula will return #N/A since no values exist to the left. X11: =IF(U111,IF(ISNA(W11),LOOKUP(2,1/(F11:INDEX(F11:R11,U11-1)=T11),COLUMN( F11:INDEX(F11:R11,U11-1))-COLUMN(F11)+1)+1,W11),#N/A) Here, if W11 equals #N/A, the numerical label is used to search left for the first column containing a value greater than or equal to the numeric value, return the column position, and add 1. Otherwise, it returns the value in W11. And, again, if the column number representing the numeric label is 1, the formula will return #N/A since no values exist to the left. Post back if I misinterpreted your intent... Hope this helps! In article <5a41f381f663a@uwe, "Sam via OfficeKB.com" <u4102@uwe wrote: Hi All, I would like a flexible Formula to Return the Column Number of individual Numeric Labels and their Numeric Value. I have a 2-Row by many Columns chart/ grid layout. My 1st Column, Column Number "1" is Excel Column Letter "F". Numeric Label 17 is housed in Column Number "12" per my chart , its Numeric Value 5 is housed on the next Row - directly below the Numeric Label. Sample Data: ---------------------Col1 Col2 Col3 Col4 Col5 Col6 Col7 Col8 Col9 Col10 Col11 Col12 Col13 etc -Numeric Label 3 2 6 0 8 4 5 9 11 1 10 17 7 -Numeric Value 18 15 12 11 8 7 7 6 6 5 5 5 4 Scenario: To Return the correct Column Number: locate the Numeric Label 17 and its Numeric Value on the Row below, Numeric Value is 5. The Numeric Value is to be increased by a Value of 1 (one) - NEW Numeric Value = 6. The Column Number Returned should reflect Numeric Label of 17 remains the same but the Numeric Value is increased by one. To Return a Column Number representing the Numeric Label 17 and its original Numeric Value +1 (plus one): the Numeric Label is still 17 but the Numeric Value is NOW 6. From the oringal Column Number that housed Numeric Label 17, that is Column Number "12", SEARCH in Ascending order: moving LEFT from Column Number "12" and using the Numeric Value as the 1st (first) search order and the Numeric Label as the 2nd (second) Ascending search order. SEARCH the Numeric Value Row until the first Numeric Value either equal to 6 or more than 6 is found. Then Return the Column Number of the Column to the Right of that Numeric Value. Required Result: Return the Column Number based on the Numeric Label 17 and the NEW Numeric Value of 6, search in Ascending order - First search order based on Numeric Value 6 - Second search order based on Numeric Label 17. Returned Result should be Column Number 10. Thanks Sam |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi Domenic,
Your Formula has certainly done the job - thank you very much for all your help. I tried to adapt your Formula using a Named Range (NLabels) created for the Numeric Labels - but used with an Offset of ONE Row to point to the Numeric Values below the Numeric Labels: cell Ranges F11:R11 (per your Formula). However, I cannot get the INDEX and OFFSET Functions to return the correct values. Is it possible for you to re-vamp the Formula below using the Named Range NLabels with an Offset of "one" for the Row to replace Cell Ranges F11:R11. =IF(U111,LOOKUP(2,1/(F11:INDEX(F11:R11,U11-1)=V11),COLUMN(F11:INDEX(F11 :R11,U11-1))-COLUMN(F11)+1)+1,#N/A) This will search left for the first column containing a value greater than or equal to V11, return the column position, and add 1. If the column number representing the numeric label is 1, the formula will return #N/A since no values exist to the left. Cheers, Sam Domenic wrote: Try the following... Let T11 contain your criteria/numerical label U11: =MATCH(T11,$F$10:$R$10,0) This will return the column position. V11: =INDEX(F11:R11,U11)+1 This will return the corresponding value in Row 11, and add 1. W11: =IF(U111,LOOKUP(2,1/(F11:INDEX(F11:R11,U11-1)=V11),COLUMN(F11:INDEX(F11 :R11,U11-1))-COLUMN(F11)+1)+1,#N/A) This will search left for the first column containing a value greater than or equal to V11, return the column position, and add 1. If the column number representing the numeric label is 1, the formula will return #N/A since no values exist to the left. X11: =IF(U111,IF(ISNA(W11),LOOKUP(2,1/(F11:INDEX(F11:R11,U11-1)=T11),COLUMN( F11:INDEX(F11:R11,U11-1))-COLUMN(F11)+1)+1,W11),#N/A) Here, if W11 equals #N/A, the numerical label is used to search left for the first column containing a value greater than or equal to the numeric value, return the column position, and add 1. Otherwise, it returns the value in W11. And, again, if the column number representing the numeric label is 1, the formula will return #N/A since no values exist to the left. Post back if I misinterpreted your intent... Hope this helps! Hi All, [quoted text clipped - 41 lines] Thanks Sam -- Message posted via http://www.officekb.com |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Try the following...
Select U11 first Insert Name Define Name: NLabels Refers to: =Sheet1!$F$10:$R$10 Click Add Name: NValues Refers to: =Sheet1!$F11:$R11 Click Add Name: NValues2 Refers to: =Sheet1!$F11:INDEX(Sheet1!$F11:$R11,Sheet1!$U11-1) Click Ok *Change the sheet reference accordingly. Then use the following formulas... U11: =MATCH(T11,NLabels,0) V11: =INDEX(NValues,U11)+1 W11: =IF(U111,LOOKUP(2,1/(NValues2=V11),COLUMN(NValues2)-MIN(COLUMN(NValues2 ))+1)+1,#N/A) X11: =IF(U111,IF(ISNA(W11),LOOKUP(2,1/(NValues2=T11),COLUMN(NValues)-MIN(COL UMN(NValues2))+1)+1,W11),#N/A) Hope this helps! In article <5a45846546ea6@uwe, "Sam via OfficeKB.com" <u4102@uwe wrote: Hi Domenic, Your Formula has certainly done the job - thank you very much for all your help. I tried to adapt your Formula using a Named Range (NLabels) created for the Numeric Labels - but used with an Offset of ONE Row to point to the Numeric Values below the Numeric Labels: cell Ranges F11:R11 (per your Formula). However, I cannot get the INDEX and OFFSET Functions to return the correct values. Is it possible for you to re-vamp the Formula below using the Named Range NLabels with an Offset of "one" for the Row to replace Cell Ranges F11:R11. |
#6
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi Domenic,
Thank you so much - Great! Cheers, Sam Domenic wrote: Try the following... Select U11 first Insert Name Define Name: NLabels Refers to: =Sheet1!$F$10:$R$10 Click Add Name: NValues Refers to: =Sheet1!$F11:$R11 Click Add Name: NValues2 Refers to: =Sheet1!$F11:INDEX(Sheet1!$F11:$R11,Sheet1!$U11-1) Click Ok *Change the sheet reference accordingly. Then use the following formulas... U11: =MATCH(T11,NLabels,0) V11: =INDEX(NValues,U11)+1 W11: =IF(U111,LOOKUP(2,1/(NValues2=V11),COLUMN(NValues2)-MIN(COLUMN(NValues2 ))+1)+1,#N/A) X11: =IF(U111,IF(ISNA(W11),LOOKUP(2,1/(NValues2=T11),COLUMN(NValues)-MIN(COL UMN(NValues2))+1)+1,W11),#N/A) Hope this helps! Hi Domenic, [quoted text clipped - 9 lines] Is it possible for you to re-vamp the Formula below using the Named Range NLabels with an Offset of "one" for the Row to replace Cell Ranges F11:R11. -- Message posted via OfficeKB.com http://www.officekb.com/Uwe/Forums.a...tions/200601/1 |
#7
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi Domenic,
Your Formula below is working. However, I found a few Rows of data where it does not Return the Column Number that I expect, that is due to my initial explanation. I 'm sure I got my search /sort type round the wrong way. I said Ascending for the Numeric Value and it should be Descending. It is basically the SEARCH order: Descending order, Numeric Value 1st search/ sort key and then Ascending order for the Numeric Label to be used as the 2nd search/ sort key. I think it might be easier for me to explain what I'm trying to say by way of some Sample Data: Column Number 1 Row 10 Houses Numeric Label 0 Column Number 1 Row 11 Houses Numeric Value 16 Column Number 2 Row 10 Houses Numeric Label 2 Column Number 2 Row 11 Houses Numeric Value 12 Column Number 3 Row 10 Houses Numeric Label 1 Column Number 3 Row 11 Houses Numeric Value 10 Column Number 4 Row 10 Houses Numeric Label 4 Column Number 4 Row 11 Houses Numeric Value 9 Column Number 5 Row 10 Houses Numeric Label 6 Column Number 5 Row 11 Houses Numeric Value 9 Column Number 6 Row 10 Houses Numeric Label 12 Column Number 6 Row 11 Houses Numeric Value 7 Column Number 7 Row 10 Houses Numeric Label 8 Column Number 7 Row 11 Houses Numeric Value 6 Column Number 8 Row 10 Houses Numeric Label 3 Column Number 8 Row 11 Houses Numeric Value 5 Column Number 9 Row 10 Houses Numeric Label 5 Column Number 9 Row 11 Houses Numeric Value 5 Column Number 10 Row 10 Houses Numeric Label 9 Column Number 10 Row 11 Houses Numeric Value 5 Column Number 11 Row 10 Houses Numeric Label 11 Column Number 11 Row 11 Houses Numeric Value 5 Column Number 12 Row 10 Houses Numeric Label 7 Column Number 12 Row 11 Houses Numeric Value 4 Column Number 13 Row 10 Houses Numeric Label 13 Column Number 13 Row 11 Houses Numeric Value 4 Column Number 14 Row 10 Houses Numeric Label 15 Column Number 14 Row 11 Houses Numeric Value 3 Column Number 15 Row 10 Houses Numeric Label 10 Column Number 15 Row 11 Houses Numeric Value 2 Column Number 16 Row 10 Houses Numeric Label 14 Column Number 16 Row 11 Houses Numeric Value 2 Column Number 17 Row 10 Houses Numeric Label 18 Column Number 17 Row 11 Houses Numeric Value 2 Based on the above Sample Data the Formula currently Returns Column Number 15. I would expect Column Number 14 to be Returned as the correct Result using the SEARCH order: Descending for Numeric Value and Ascending for Numeric Label. When the Data is listed across the relevant two Rows for Numeric Labels and their corresponding Numeric Values, Numeric Label 14 is housed in Column Number 16 with a Numeric Value of 2. However, when that Numeric Value is increased by 1 to 3, it should then move LEFT to Column Number 15 but because it's also connected to its Numeric Label which will always remain the same, i. e. Numeric Label 14 which must move LEFT in Ascending order (2nd search / sort key) which then places both it and its Numeric Value in Column 14. The Numeric Label 14 was originally housed in Column Number 16 and should move LEFT past the Numeric Label 10 in Column 15, and replace Numeric Label 15 in Column Number 14; although Numeric Label 14 now has the same Numeric Value as that of Numeric Label 15 (both Numeric Label 14 and 15 have a Numeric Value of 3) the Numeric Label of 14 is less than that of Numeric Label 15 and when placed in Ascending order should be in a Column Number to the LEFT of, or before, or in front of Numeric Label 15 because both of their Numeric Values are the same and equal. The only difference now between them is that one Numeric Label is lower, so when placed in Ascending order the Numeric Label with the lower Number should be listed first in the Row. There will be occassions when a higher Number Numeric Label is placed before a lower one: when the Numeric Value of the Higher Numeric Label exceeds that of the Lower Numeric Label. The Numeric Label and Numeric Value work and move as a pair. The Numeric Label must always be placed in Ascending order with its Numeric Value in Descending order (used as the 1st search/ sort key). Hope it's possibe to decipher what I'm trying to say. Apologies for any confusion. I think it reads worst than it really is but hey ... I can't even get Ascending and Descending right! Further assistance very much appreciated - hope you can salvage this. Cheers, Sam Domenic wrote: Try the following... Let T11 contain your criteria/numerical label U11: =MATCH(T11,$F$10:$R$10,0) This will return the column position. V11: =INDEX(F11:R11,U11)+1 This will return the corresponding value in Row 11, and add 1. W11: =IF(U111,LOOKUP(2,1/(F11:INDEX(F11:R11,U11-1)=V11),COLUMN(F11:INDEX(F11 :R11,U11-1))-COLUMN(F11)+1)+1,#N/A) This will search left for the first column containing a value greater than or equal to V11, return the column position, and add 1. If the column number representing the numeric label is 1, the formula will return #N/A since no values exist to the left. X11: =IF(U111,IF(ISNA(W11),LOOKUP(2,1/(F11:INDEX(F11:R11,U11-1)=T11),COLUMN( F11:INDEX(F11:R11,U11-1))-COLUMN(F11)+1)+1,W11),#N/A) Here, if W11 equals #N/A, the numerical label is used to search left for the first column containing a value greater than or equal to the numeric value, return the column position, and add 1. Otherwise, it returns the value in W11. And, again, if the column number representing the numeric label is 1, the formula will return #N/A since no values exist to the left. Post back if I misinterpreted your intent... Hope this helps! Hi All, [quoted text clipped - 41 lines] Thanks Sam -- Message posted via OfficeKB.com http://www.officekb.com/Uwe/Forums.a...tions/200601/1 |
#8
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Sam,
I'm having a difficult time trying to understand the process involved. Can you please provide a few examples under the differing situations, along with the step-by-step thought process involved? In article <5a4dc8c25bfa8@uwe, "Sam via OfficeKB.com" <u4102@uwe wrote: Hi Domenic, Your Formula below is working. However, I found a few Rows of data where it does not Return the Column Number that I expect, that is due to my initial explanation. I 'm sure I got my search /sort type round the wrong way. I said Ascending for the Numeric Value and it should be Descending. It is basically the SEARCH order: Descending order, Numeric Value 1st search/ sort key and then Ascending order for the Numeric Label to be used as the 2nd search/ sort key. I think it might be easier for me to explain what I'm trying to say by way of some Sample Data: Column Number 1 Row 10 Houses Numeric Label 0 Column Number 1 Row 11 Houses Numeric Value 16 Column Number 2 Row 10 Houses Numeric Label 2 Column Number 2 Row 11 Houses Numeric Value 12 Column Number 3 Row 10 Houses Numeric Label 1 Column Number 3 Row 11 Houses Numeric Value 10 Column Number 4 Row 10 Houses Numeric Label 4 Column Number 4 Row 11 Houses Numeric Value 9 Column Number 5 Row 10 Houses Numeric Label 6 Column Number 5 Row 11 Houses Numeric Value 9 Column Number 6 Row 10 Houses Numeric Label 12 Column Number 6 Row 11 Houses Numeric Value 7 Column Number 7 Row 10 Houses Numeric Label 8 Column Number 7 Row 11 Houses Numeric Value 6 Column Number 8 Row 10 Houses Numeric Label 3 Column Number 8 Row 11 Houses Numeric Value 5 Column Number 9 Row 10 Houses Numeric Label 5 Column Number 9 Row 11 Houses Numeric Value 5 Column Number 10 Row 10 Houses Numeric Label 9 Column Number 10 Row 11 Houses Numeric Value 5 Column Number 11 Row 10 Houses Numeric Label 11 Column Number 11 Row 11 Houses Numeric Value 5 Column Number 12 Row 10 Houses Numeric Label 7 Column Number 12 Row 11 Houses Numeric Value 4 Column Number 13 Row 10 Houses Numeric Label 13 Column Number 13 Row 11 Houses Numeric Value 4 Column Number 14 Row 10 Houses Numeric Label 15 Column Number 14 Row 11 Houses Numeric Value 3 Column Number 15 Row 10 Houses Numeric Label 10 Column Number 15 Row 11 Houses Numeric Value 2 Column Number 16 Row 10 Houses Numeric Label 14 Column Number 16 Row 11 Houses Numeric Value 2 Column Number 17 Row 10 Houses Numeric Label 18 Column Number 17 Row 11 Houses Numeric Value 2 Based on the above Sample Data the Formula currently Returns Column Number 15. I would expect Column Number 14 to be Returned as the correct Result using the SEARCH order: Descending for Numeric Value and Ascending for Numeric Label. When the Data is listed across the relevant two Rows for Numeric Labels and their corresponding Numeric Values, Numeric Label 14 is housed in Column Number 16 with a Numeric Value of 2. However, when that Numeric Value is increased by 1 to 3, it should then move LEFT to Column Number 15 but because it's also connected to its Numeric Label which will always remain the same, i. e. Numeric Label 14 which must move LEFT in Ascending order (2nd search / sort key) which then places both it and its Numeric Value in Column 14. The Numeric Label 14 was originally housed in Column Number 16 and should move LEFT past the Numeric Label 10 in Column 15, and replace Numeric Label 15 in Column Number 14; although Numeric Label 14 now has the same Numeric Value as that of Numeric Label 15 (both Numeric Label 14 and 15 have a Numeric Value of 3) the Numeric Label of 14 is less than that of Numeric Label 15 and when placed in Ascending order should be in a Column Number to the LEFT of, or before, or in front of Numeric Label 15 because both of their Numeric Values are the same and equal. The only difference now between them is that one Numeric Label is lower, so when placed in Ascending order the Numeric Label with the lower Number should be listed first in the Row. There will be occassions when a higher Number Numeric Label is placed before a lower one: when the Numeric Value of the Higher Numeric Label exceeds that of the Lower Numeric Label. The Numeric Label and Numeric Value work and move as a pair. The Numeric Label must always be placed in Ascending order with its Numeric Value in Descending order (used as the 1st search/ sort key). Hope it's possibe to decipher what I'm trying to say. Apologies for any confusion. I think it reads worst than it really is but hey ... I can't even get Ascending and Descending right! Further assistance very much appreciated - hope you can salvage this. Cheers, Sam |
#9
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi Domenic,
I'll try to clarify. Your original Formula provided the correct answer based on SEARCH/ sort type Ascending For Numeric Label and Ascending for Numeric Value. However, I require the Formula to use SEARCH/ sort type Ascending for Numeric Label and Descending for Numeric Value. That is the only change or difference to the original Formula you provided. Cheers, Sam Domenic wrote: Sam, I'm having a difficult time trying to understand the process involved. Can you please provide a few examples under the differing situations, along with the step-by-step thought process involved? Hi Domenic, [quoted text clipped - 103 lines] Cheers, Sam -- Message posted via OfficeKB.com http://www.officekb.com/Uwe/Forums.a...tions/200601/1 |
#10
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
In that case, change the formula for W11 to the following...
=IF(U111,MATCH(TRUE,INDEX(NValues2=V11,0),0),#N/A) or =IF(U111,MATCH(TRUE,NValues2=V11,0),#N/A) ....confirmed with CONTROL+SHIFT+ENTER. In article <5a5057d4c76ec@uwe, "Sam via OfficeKB.com" <u4102@uwe wrote: Hi Domenic, I'll try to clarify. Your original Formula provided the correct answer based on SEARCH/ sort type Ascending For Numeric Label and Ascending for Numeric Value. However, I require the Formula to use SEARCH/ sort type Ascending for Numeric Label and Descending for Numeric Value. That is the only change or difference to the original Formula you provided. Cheers, Sam |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|