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!
The Forum now has a brand new text editor, adding a bunch of handy features to use when creating posts. Read more in our how-to guide
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
- 353.5K Banking & Borrowing
- 254.1K Reduce Debt & Boost Income
- 455K Spending & Discounts
- 246.5K Work, Benefits & Business
- 602.9K Mortgages, Homes & Bills
- 178K Life & Family
- 260.5K Travel & Transport
- 1.5M Hobbies & Leisure
- 16K Discuss & Feedback
- 37.7K Read-Only Boards