Skip to main content
Question

Excel wr

  • July 31, 2025
  • 14 replies
  • 97 views

evoteck
Enthusiast
Forum|alt.badge.img+28
  Which Fme Transformer will enable me write an Excel Output Data to accept Large Numbers  (e.g. No1 below)    
                                                 No1 4111101101005601100102002    
       
                                                 No2 Instead of this Scientific Notation of Enconded Number (e.g. No 2 below)    
  4.1111011010056E+24    
       

14 replies

evoteck
Enthusiast
Forum|alt.badge.img+28
  • Author
  • Enthusiast
  • July 31, 2025

@All please I need help in solving the above question about write data in Excel that will enable the field show large numbers


hkingsbury
Celebrity
Forum|alt.badge.img+64
  • Celebrity
  • July 31, 2025

What is the datatype of the attribute in FME and what is the output type of the attribute in the writer?


evoteck
Enthusiast
Forum|alt.badge.img+28
  • Author
  • Enthusiast
  • July 31, 2025

The data type is Excel, I can send you the datatype.

 


evoteck
Enthusiast
Forum|alt.badge.img+28
  • Author
  • Enthusiast
  • July 31, 2025

@hkingsbury I have attached the Excel sample data


hkingsbury
Celebrity
Forum|alt.badge.img+64
  • Celebrity
  • July 31, 2025

I’m meaning the dataype of the attribute in FME



and what the attribute is set to in the reader
 

 


evoteck
Enthusiast
Forum|alt.badge.img+28
  • Author
  • Enthusiast
  • July 31, 2025

@hkingsbury   Default FME Data Type is = UTF-8
Default attribute is set to in the reader = number


evoteck
Enthusiast
Forum|alt.badge.img+28
  • Author
  • Enthusiast
  • July 31, 2025

@hkingsbury  Which Transformer and Approach can I use to achieve the process.


hkingsbury
Celebrity
Forum|alt.badge.img+64
  • Celebrity
  • August 4, 2025

Looking at the excel sheet you attached, Excel is displaying the values in scientific notation. You can format the cells as Number and change it to 0 decimal places and they’ll appear like so:

 


I also tested setting the output attribute type in the writer to string and that worked (without needing to change the cell format in excel)
 


evoteck
Enthusiast
Forum|alt.badge.img+28
  • Author
  • Enthusiast
  • August 5, 2025

@hkingsbury The challenge here is that the remaining code is turned to zeros (0)
 

I will want it to appear in full, just like what I have on the cin column on database. Check the image below.
 



 


lambertus
Enthusiast
Forum|alt.badge.img+23
  • Enthusiast
  • August 5, 2025

Hi ​@evoteck, lets see whether I can give you some support. The fastest way to solve this can be done in Excel itself I guess.

Steps:

  1. Visit your Excel data again
  2. Select your column with data completely 
  3. Select the type of data this column should be
  4. Choose Number
    In my Excel it shows Getal which is Dutch for number

 

 

 


evoteck
Enthusiast
Forum|alt.badge.img+28
  • Author
  • Enthusiast
  • August 5, 2025

 

@lambertus Changing it number is what ​@hkingsbury did earlier, but that will change other part of the numbers to zeros (000000), which is not the same with the actual figures from the database.


evoteck
Enthusiast
Forum|alt.badge.img+28
  • Author
  • Enthusiast
  • August 5, 2025

@lambertus and ​@hkingsbury  I was able to solve the issue using Attribute Manager Transformer to change the data type for the cin, to accept large numbers .
 

And the output in excel is showing correctly

 


lambertus
Enthusiast
Forum|alt.badge.img+23
  • Enthusiast
  • August 6, 2025

@evoteck you're right, glad that solved the issue yourself 😃


evoteck
Enthusiast
Forum|alt.badge.img+28
  • Author
  • Enthusiast
  • August 6, 2025

@lambertus Thanks I really appreciate your time and your help.