Excel的公式注释使用+N("...")

问题描述 投票:0回答:2

=VLOOKUP(Q3096&" ",'C:\Users\13169\Desktop\December 2020\FL80\[MPR HEADER (DECEMBER 2020).xls]WORKSHEET'!$O$31:$O$51,1,0)+N("Comment")
我正在尝试使用 +N("...") 在 Excel 公式中添加注释。有时,它有效,有时则无效(不知道为什么?)。 vlookup 公式返回#value!错误。有什么解决办法吗?谢谢!

excel-formula
2个回答
0
投票

如果您尝试在 vlookup 未返回任何值的情况下添加注释,请尝试以下操作:

=IFNA(VLOOKUP(Q3096&" ",'C:\UsersY69\Desktop\2020 年 12 月\FL80[MPR 标头(12 月) 2020).xls]工作表'!$O$31:$O$51,1,0),"评论")

对于没有“IFNA”公式的旧版本,请尝试以下操作:

=IF(ISNA(VLOOKUP(Q3096&" ",'C:\UsersY69\Desktop\2020 年 12 月\FL80[MPR 标头(12 月) 2020).xls]工作表'!$O$31:$O$51,1,0)),"注释",VLOOKUP(Q3096&" ",'C:\UsersY69\Desktop\2020 年 12 月\FL80[MPR 标头(12 月) 2020).xls]工作表'!$O$31:$O$51,1,0))


0
投票
=LET(
Comment1,
"N() is an ok way to insert a comment."

Comment2,
"If your version of Excel has the new LET() function, there's a much easier way.",

SumA1A4,
SUM(A1:A4),

\0,
"This should also allow comments but I've not tested it (nor tested if you can do \0 multiple times)",

LongComment,CONCATENATE(
"Note though that individual strings need to be <255 characters, so if you need LONG comments",
"you can do it this way."
),

LastComment,
"Reminder that you still need the last entry of LET() to be what you're returning",

SumA1A4)
© www.soinside.com 2019 - 2024. All rights reserved.