Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 04-30-2024, 09:55 AM
Shelley Lou Shelley Lou is offline VLOOKUP #N/A Error Windows 10 VLOOKUP #N/A Error Office 2016
Competent Performer
VLOOKUP #N/A Error
 
Join Date: Dec 2020
Posts: 173
Shelley Lou is on a distinguished road
Default VLOOKUP #N/A Error

I'm not very good with Excel and really struggling to get a spreadsheet to work correctly.



I have a summary sheet in which I'm pulling through data for specific columns from two other worksheets within the same workbook and the formula I am using is:

=IFNA(VLOOKUP(D2,ElementsData,2,0),VLOOKUP(D2,Sche meData,2,0))

I'd like to add the TRIM function to the formula to check for spaces and also for entries that are not found in either of the two sheets to change #N/A to 'Not Found'.

Would really appreciate some help. Many thanks
Reply With Quote
  #2  
Old 05-07-2024, 12:10 PM
Alansidman's Avatar
Alansidman Alansidman is offline VLOOKUP #N/A Error Windows 11 VLOOKUP #N/A Error Office 2021
עַם יִשְׂרָאֵל חַי
 
Join Date: Apr 2019
Location: Steamboat Springs
Posts: 81
Alansidman will become famous soon enoughAlansidman will become famous soon enough
Default

Upload a sample worksheet of 10-12 records and a mocked up solution.
__________________
Alan עַם יִשְׂרָאֵל חַי
Reply With Quote
  #3  
Old Yesterday, 07:07 AM
Shelley Lou Shelley Lou is offline VLOOKUP #N/A Error Windows 10 VLOOKUP #N/A Error Office 2016
Competent Performer
VLOOKUP #N/A Error
 
Join Date: Dec 2020
Posts: 173
Shelley Lou is on a distinguished road
Default VLOOK UP #N/A Error

I worked out the formula, took a while but got there in the end:

=IFERROR(IFNA(VLOOKUP(E2,ElementsData,5,0),VLOOKUP (E2,SchemeData,5,0)),"Not Found")
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Suddenly having trouble using .Refresh BackgroundQuery. Error 1004, General ODBC Error PLSBRYDOBOY Excel Programming 0 08-30-2019 12:17 PM
Tell me which place the vlookup was successful (within a nested vlookup) Izzii0x Excel 2 07-18-2019 10:29 PM
How can I return Vlookup only if Specific Criteria is met in 1 column of the Vlookup Array EcommDOC Excel 7 01-22-2018 11:00 AM
VLOOKUP #N/A Error Vlookup error lily Excel 2 04-24-2015 01:21 AM
VLOOKUP #N/A Error VLookup is giving me #N/A error, help with data or formula? ladygogo78 Excel 3 10-22-2012 12:28 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 12:33 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft