RE: No subject was specified.



Hi,
The essence of the Vlookup is how you set up the lookup value and seeting
the Lookup to True. You will have to adjust for the Column differences, but
you need something like this:
col x col xx
0 < 30 days 154 151-180 da
30 31-60 da 139 121-150 da
60 61-90 da 164 151-180 da
90 91-120 da 189 181-365 da
120 121-150 da 1825 >5 yrs
150 151-180 da 199 181-365 da
180 181-365 da 236 181-365 da
365 1-2 yrs 120 121-150 da
730 2-3 yrs 65 61-90 da
1095 3-5 yrs 299 181-365 da
1825 >5 yrs 284 181-365 da
=VLOOKUP(C16,$A$16:$B$26,2,TRUE) <-----This is the formula you need in the
lookup. The number in the first column is a number equal to number of days,
there is a little tweeking to be done, but I am sure you will be able to do
that.
Thanks,

"Ronald Cayne" wrote:

> What is the best approach to completing col xx. vlookup? nested if's.
> Column X represents no. of days. column xx represents the aged grouping.
>
> I
>
> TABLE col x col xx
> 0 "< 30 days" 154 "151-180 da"
> 30 "31-60 da" 139 "121-150 da"
> 60 " "61-90 da" 164
> 90 "91-120 da" 189
> 120 "121-150 da" 1825
> 150 "151-180 da" 199
> 180 "181-365 da" 236
> 365 "1-2 yrs" 120
> 730 "2-3 yrs" 65
> 1095 "3-5 yrs" 299
> 1825 ">5 yrs" 284
> 731
> 23
> 359
> 384
> 369
> 555
> 181
>
>
>
.



Relevant Pages

  • Re: Vlookup Using VBA (without using VLOOKUP function)
    ... Daves Match/Index suggestion took 3.5 seconds, my vlookup 2.4 seconds. ... VBA is the slowest except for an exact match ... Set rngFound = Nothing ... lookup, which are faster using a single exact match lookup. ...
    (microsoft.public.excel.programming)
  • Re: VLOOKUP AND N/A ERRORS
    ... Some cells look like numbers, ... The data is not sorted ascending and the 4th argument of the VLOOKUP is TRUE or is omitted. ... There are spaces or other invisible characters in either the search arguments or the lookup table. ... | I am in worksheet and I am basically trying to reference another worksheet ...
    (microsoft.public.excel.misc)
  • Re: Make Excel work faster
    ... if you need a lookup on a sheet use the VLookup worksheet function. ... If you have a VBA array though then looping is faster than using VLookup. ... If the values in the range are stable, reading them into VBA once and interrogate from there is good practice; I use that in my actuarial function system a lot. ...
    (microsoft.public.excel.programming)
  • Re: Returning text from nested IF and Vlookup statements
    ... VLOOKUP should find its right hand side. ... you pointed out where the lookup information comes from ... returns the correct reply for the pending sites but putting "Pending" in the ... in the cell ...
    (microsoft.public.excel.worksheet.functions)
  • Re: Make Excel work faster
    ... Sub StartSW() ... Select Case MsgBox("Use VLookup?", _ ... "array lookup tester") ... It is practically impossible to get even near the speed of Excel's built-in (lookup) functions. ...
    (microsoft.public.excel.programming)