简体   繁体   中英

Sum with Datedif Formula

Ihave a formula like this

=IF(DATEDIF(D4;DATE(2014;8;31);"Y")>15;DATEDIF(D4;DATE(2014;8;31);"Y")*12500+VLOOKUP(VALUE(LEFT(C4;1));$U$22:$Z$25;7;FALSE);0)

But returned a #REF, results? can you tell me what's wrong on this formula?

One obvious mistake I see is here:

VLOOKUP(VALUE(LEFT(C4;1));$U$22:$Z$25;7;FALSE

$U$22:$Z$25 has only 6 columns but you want to get value from the 7th.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM