We’d like to remind Forumites to please avoid political debate on the Forum.
This is to keep it a safe and useful space for MoneySaving discussions. Threads that are – or become – political in nature may be removed in line with the Forum’s rules. Thank you for your understanding.
📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!
Adding a Value in Excel

Cotta
Posts: 3,667 Forumite
in Techie Stuff
Hi All,
I have the following formula within Excel, however at present it's returning #N/A as there is no associated value within table two (this can sometimes be the case as the variables fluctuate). Is there a way to correct this issue?
Thanks
=VLOOKUP($A$1,'[combined.xlsx]Money Value'!$A:$I,2,FALSE)+VLOOKUP($A$1,'[combined.xlsx]Money Value'!$A$40:$I$86,2,FALSE)
I have the following formula within Excel, however at present it's returning #N/A as there is no associated value within table two (this can sometimes be the case as the variables fluctuate). Is there a way to correct this issue?
Thanks
=VLOOKUP($A$1,'[combined.xlsx]Money Value'!$A:$I,2,FALSE)+VLOOKUP($A$1,'[combined.xlsx]Money Value'!$A$40:$I$86,2,FALSE)
0
Comments
-
Longwinded way - someone may have a neater approach:
=IF(ISNA(VLOOKUP($A$1,'[combined.xlsx]Money Value'!$A:$I,2,FALSE)+VLOOKUP($A$1,'[combined.xlsx]Money Value'!$A$40:$I$86,2,FALSE)),"",=VLOOKUP($A$1,'[combined.xlsx]Money Value'!$A:$I,2,FALSE)+VLOOKUP($A$1,'[combined.xlsx]Money Value'!$A$40:$I$86,2,FALSE))0 -
Longwinded way - someone may have a neater approach:
=IF(ISNA(VLOOKUP($A$1,'[combined.xlsx]Money Value'!$A:$I,2,FALSE)+VLOOKUP($A$1,'[combined.xlsx]Money Value'!$A$40:$I$86,2,FALSE)),"",=VLOOKUP($A$1,'[combined.xlsx]Money Value'!$A:$I,2,FALSE)+VLOOKUP($A$1,'[combined.xlsx]Money Value'!$A$40:$I$86,2,FALSE))
Thanks for your response, I've tried your formula but it returns an error within the section highlighted in bold above.0 -
Just remove the 2nd = ... that was a cut/paste typo.0
-
Or, to be very picky
, you could do this:=
=IF(ISNA(VLOOKUP($A$1,'[combined.xlsx]Money Value'!$A:$I,2,FALSE)),0,VLOOKUP($A$1,'[combined.xlsx]Money Value'!$A:$I,2,FALSE))+IF(ISNA(VLOOKUP($A$1,'[combined.xlsx]Money Value'!$A$40:$I$86,2,FALSE)),0,VLOOKUP($A$1,'[combined.xlsx]Money Value'!$A$40:$I$86,2,FALSE))
I think I've got the brackets in the right places, but that will substitute zero for any error values rather than wiping out the entire calculation.
::edit::
Just checked the brackets and added a few inn (hopefully) the right places.:wall: Flagellation, necrophilia and bestiality - Am I flogging a dead horse? :wall:
Any posts are my opinion and only that. Please read at your own risk.0 -
Thanks all, I'm up and going again.0
This discussion has been closed.
Confirm your email address to Create Threads and Reply

Categories
- All Categories
- 352K Banking & Borrowing
- 253.5K Reduce Debt & Boost Income
- 454.2K Spending & Discounts
- 245K Work, Benefits & Business
- 600.6K Mortgages, Homes & Bills
- 177.4K Life & Family
- 258.8K Travel & Transport
- 1.5M Hobbies & Leisure
- 16.2K Discuss & Feedback
- 37.6K Read-Only Boards