F
frayed
Hello,
Even if it is an exact match I'm getting #NA.
I'm trying to add a 5 Minute period to a 15 Min period and date and
return the corresponding value. I know there is a problem with Binary
rounding and I've tried rounding, truncating, general formatting,
precision as displayed, and hair pulling. I'm lost here. The data is
formatted general formatting except in this example.
Just the Lookup's that I add the 5 Min to won't work.I would appreciate
any help. Thanks, Bill
Col H Row 2 =VLOOKUP(G2,C$2$5,2,0) Works OK
Col I Row 2 =VLOOKUP(Round(K$2+G2,6),C$2$5,2,0)
Doesn't Work and I've tried Trunc instead of Round
Col J Row 2
=VLOOKUP(Round(2*k$2+G2,6),C$2$5,2,0)
Doesn't Work and I've tried Trunc instead of Round
A B C D E
Date Time Date+Time Value Date
10/24/03 9:30 37918.39583 1 10/24/03
10/24/03 9:35 37918.39931 2 10/24/03
10/24/03 9:40 37918.40278 3 10/24/03
10/24/03 9:45 37918.40625 4 10/24/03
F G H I J
K
Time Date+Time Vlkup1 Vlkup2 Vlkup3 5 Min
9:30 37918.39583 1 #NA #NA .003472
9:45 37918.40625 4 5 6
10:00 37918.41667 7 8 9
10:15 37918.42708 10 #NA #NA
The actual spreadsheet is several thousand rows.
Even if it is an exact match I'm getting #NA.
I'm trying to add a 5 Minute period to a 15 Min period and date and
return the corresponding value. I know there is a problem with Binary
rounding and I've tried rounding, truncating, general formatting,
precision as displayed, and hair pulling. I'm lost here. The data is
formatted general formatting except in this example.
Just the Lookup's that I add the 5 Min to won't work.I would appreciate
any help. Thanks, Bill
Col H Row 2 =VLOOKUP(G2,C$2$5,2,0) Works OK
Col I Row 2 =VLOOKUP(Round(K$2+G2,6),C$2$5,2,0)
Doesn't Work and I've tried Trunc instead of Round
Col J Row 2
=VLOOKUP(Round(2*k$2+G2,6),C$2$5,2,0)
Doesn't Work and I've tried Trunc instead of Round
A B C D E
Date Time Date+Time Value Date
10/24/03 9:30 37918.39583 1 10/24/03
10/24/03 9:35 37918.39931 2 10/24/03
10/24/03 9:40 37918.40278 3 10/24/03
10/24/03 9:45 37918.40625 4 10/24/03
F G H I J
K
Time Date+Time Vlkup1 Vlkup2 Vlkup3 5 Min
9:30 37918.39583 1 #NA #NA .003472
9:45 37918.40625 4 5 6
10:00 37918.41667 7 8 9
10:15 37918.42708 10 #NA #NA
The actual spreadsheet is several thousand rows.