BookmarkSubscribeRSS Feed
GenDemo
Quartz | Level 8

Hi All

 

I am having trouble when importing data from Excel to EG. The sheet in Excel uses table formulas, for example "=+VLOOKUP([@Campaign],map!A:B,2,0)" . These cells turn out blank in SAS. I have discovered that if you just replace the table formula with cell reference formulas, for example "=+VLOOKUP(D1882,map!A:B,2,0)", then it works fine.

Why would this happen?

Is there a way to fix it, apart from changing all the formulas in the workbook. 

 

I've never encountered this issue with base SAS on the desktop edition, as and when the proc import failed then I would just hard code the import with a data step and 'infile' statement. But our company moved to a server setup and we can't use proc import, nor the  'infile' statement. All import have to be done through the import data wizard - hence I am struggle to find ways around this. 

 

I'd appreciate your import.

 

Thnx, GD

4 REPLIES 4
Tom
Super User Tom
Super User

Are you using the EG gui tool for importing the Excel from your PC?  Or are you running PROC IMPORT step on the server pointing to a copy of the original Excel file? Or using XLSX libname engine?

GenDemo
Quartz | Level 8

Im using the import wizard/GUI in EG. 

Tom
Super User Tom
Super User

You should submit the problem to SAS support.

GenDemo
Quartz | Level 8
Hahahaha, ok. Thnx 🙂

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

Discussion stats
  • 4 replies
  • 1380 views
  • 0 likes
  • 2 in conversation