Increase the number of custom formats

GuusKoppes

New Member
Joined
Apr 14, 2020
Messages
9
Office Version
  1. 2016
Platform
  1. Windows
Hi,

I am working on an excel tool for the calculation of ship weights using weight ratiocination.
I am trying to show text in a pivot table using the custom number format by applying custom formats like below to a cell in my pivot table.
[=100]"Hull structure, general"
The creation and application of these formats works fine using a macro but in my worksheet I am limited to adding 206 custom formats while i would like to add about 700.
If I try to add an additional format I get the error message "No more custom number formats can be added." I tried it on two different laptops one using Office 365 ProPlus and one using Office Professional Plus 2016

Is there a way to increase the number of custom formats that you can create?

PS. I know that it is possible to add the data to a data model and create a measure with the DAX formula concatenatex to show text in pivot table. But, it is sort of an interactive sheet, as a result it needs to be refreshed frequently and using the data model turned out to increase the refresh time very much.
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.

Thanks for your reply! I did look at that post before but if I understand it correct this is more a solution to get rid of the custom formats in the workbook that are not used. In my case is purposely create these custom formats to display the text and therefore want to keep more than the allowed 206 at the moment.
 
Upvote 0
Have you read this


And this tutorial may help

 
Upvote 0
Thanks for your reply! I did look at that post before but if I understand it correct this is more a solution to get rid of the custom formats in the workbook that are not used. In my case is purposely create these custom formats to display the text and therefore want to keep more than the allowed 206 at the moment.
In that article is clearly explained that the limitation cause is lack of memory, not a limitation as such in Excel.

And in the reference added by Michael (nice pick up):
Excel 2016 is the first version, unlike previous Excel versions, that doesn’t have a custom format limit and won’t freeze or “crash” like previous versions. Earlier Excel versions do have a custom format limit – between 4,000 to 64,000 custom formats – depending upon the Excel version. You can find this limit for your Excel version on the web. It is a good idea to review that documentation for your version to understand your Excel version limitations, if any.
 
Upvote 0
In that article is clearly explained that the limitation cause is lack of memory, not a limitation as such in Excel.

I read that as well, what memory do you think would be the limit?
It also says:
"but you must remember that limitation is theoretical—it is very possible that you will run out of space for custom formats long before you run out of memory."

So there must be some other reason as well I guess? Like I said i tested it on two different computers and different worksheets. Both 32bit and 64bit excel. Both resulted in a maximum of 206 custom formats that can be added.
 
Upvote 0
Have you read this


And this tutorial may help


Thanks for your reply! I read the first one already and took some time to look at the second one just now. The problem isn't the actual adding of the custom formats. I know what I want to do and can achieve that but only for the limited amount of 206 formats. I would like to increase that amount.

I did found something interesting though. In the second link it says:

"Excel 2016 is the first version, unlike previous Excel versions, that doesn’t have a custom format limit and won’t freeze or “crash” like previous versions. Earlier Excel versions do have a custom format limit – between 4,000 to 64,000 custom formats – depending upon the Excel version. You can find this limit for your Excel version on the web. It is a good idea to review that documentation for your version to understand your Excel version limitations, if any."

According to this I should not encounter this limit. So maybe the problem is somewhere else.
I will upload a test_sheet with two macros to create and delete the formats i am trying to make maybe someone can reproduce the problems that I encounter.
 
Upvote 0
Rather than discussing the limitations of custom formats, wouldn't it be more interesting if you told us what it is you are trying to achieve? perhaps a totally different approach is possible.
 
Upvote 0
I hope this post shows in a clear way, first time posting code and excel ranges.
I have created two macros to duplicate the problem in a workbook with two sheets, Sheet1 and Sheet2.
Sheet1 has the first range Iposted below with the two columns. Sheet2 has the second range with only one column which is identical to the first column of sheet A.

The first macro will create a custom number format that will show the text in sheet1 column 2 instead of the actual number and apply the custom number format to the cell on sheet 2.
The second macro can be used to easily delete the custom formats created to avoid deleting them one by one.

VBA Code:
Sub add_custom_format()
'adds a custom format to list of custom formats by using the first two columns in sheet1.
'the custom format is applied to the cell on sheet2
'goal is to convert the number to the corresponding description

last_row_new_ship_weights = Sheets("Sheet1").Cells(Rows.Count, 1).End(xlUp).Row

For jj = 1 To last_row_new_ship_weights

    Sheets("Sheet2").Cells(jj, 1).NumberFormat = "[=" & Sheets("Sheet1").Cells(jj, 1).Value & "]""" & Sheets("Sheet1").Cells(jj, 2).Value & """;"
    
Next jj
End Sub

Sub delete_custom_format()
'uses the same two columns on sheet1 to delete the custom number formats created with the add_custom_format macro

last_row_new_ship_weights = Sheets("Sheet1").Cells(Rows.Count, 1).End(xlUp).Row
On Error Resume Next
For jj = 1 To last_row_new_ship_weights

    ActiveWorkbook.DeleteNumberFormat NumberFormat:="[=" & Sheets("Sheet1").Cells(jj, 1).Value & "]""" & Sheets("Sheet1").Cells(jj, 2).Value & """;"
    
Next jj

End Sub


test_sheet_adding_custom_formats.xlsm
AB
10GENERAL GUIDANCE AND ADMINISTRATION
210COMBAT CAPABILITIES (OFFENSIVE AND DEFENSIVE)
311AIR WEAPONS VS AIR TARGETS
412AIR WEAPONS VS SURFACE TARGETS
513AIR WEAPONS VS UNDERWATER TARGETS
614SURFACE WEAPONS VS AIR TARGETS
715SURFACE WEAPONS VS SURFACE TARGETS
816SURFACE WEAPONS VS UNDERWATER TARGETS
917UNDERWATER WEAPONS VS SURFACE TARGETS
1018UNDERWATER WEAPONS VS UNDERWATER TARGETS
1120STRATEGIC AND SPECIAL CAPABILITIES
1221SURFACE BASED DETERRENTS
1322UNDERWATER BASED DETERRENTS
1423AMPHIBIOUS WARFARE
1524MINE AND MINE COUNTERMEASURE WARFARE
1625INSHORE WARFARE
1730TACTICAL AND STRATEGIC OPERATION SUPPORT CAPABILITIES
1831COMMAND/CONTROL/COMMUNICATIONS
1932SURVEILLANCE/RECONNAISSANCE/INTELLIGENCE
2033ELECTRONIC WARFARE AND NUC/BIO/CHEMICAL DEFENSE
2134LOGISTICS/SEALIFT
2235OTHER SUPPORT
2340SHIP SYSTEM MANAGEMENT
2441PROJECT MANAGEMENT
2542GENERAL ADMINISTRATIVE REQUIREMENTS
2643LIFE CYCLE COSTING
2744SHIP OPERATION
2845CARE OF SHIP DURING CONSTRUCTION
2950SHIP SYSTEM PERFORMANCE
3051SHIP SYSTEM PERFORMANCE CONCEPTS
3152SHIP SUBSYSTEM PERFORMANCE CONCEPTS
3253SELECTED CONCEPTS
3354COMPONENT DEVELOPMENT
3460SUBSYSTEM CHARACTERISTICS
3561HULL STRUCTURE
3662PROPULSION PLANT
3763ELECTRIC PLANT
3864COMMAND AND SURVEILLANCE
3965AUXILIARY SYSTEMS
4066OUTFITTING
4167WEAPONS
4268INTEGRATION AND ENGINEERING
4369SHIP ASSEMBLY
4470GENERAL REQUIREMENTS FOR DESIGN AND CONSTRUCTION
4571ACCESS
4672SURVIVABILITY (FORMERLY SHOCK, SEE INCLUDES LISTING)
4773NOISE AND VIBRATION
4874CASTING ,WELDING, RIVETING, ALLIED PROCESSES (GENERAL)
4975THREADED FASTENERS STANDARDS
5076RELIABILITY AND MAINTAINABILITY
5177SAFETY
5278MATERIALS
5379SEAWORTHINESS
5480INTEGRATED LOGISTIC SUPPORT REQUIREMENTS
5581MAINTENANCE
5682SUPPORT AND TEST EQUIPMENT
5783SUPPLY SUPPORT
5884PACKAGING, HANDLING, STORAGE AND TRANSPORTATION
5985ENGINEERING DRAWINGS
6086TECHNICAL MANUALS AND OTHER DATA
6187FACILITIES
6288MANPOWER AND PERSONNEL
6389TRAINING AND TRAINING SUPPORT(FORMERLY TRAINING EQUIPMENT)
6490QUALITY ASSURANCE (FORMERLY QUALITY ASSURANCE REQT)
6591SHIP INSPECTIONS
6692SHIP TESTS
6793COMBAT SYSTEMS CHECKOUT
6894REGULAR SHIP TRIALS
6995WHOLE SHIP TESTING
7096MASS PROPERTIES CONTROL
7197INCLINING EXPERIMENT AND TRIM DIVE
7298MODELS AND MOCKUPS
7399PHOTOGRAPHS
74100HULL STRUCTURE, GENERAL
75101GENERAL ARRANGEMENT-STRUCTURAL DRAWINGS
76110SHELL AND SUPPORTING STRUCTURE
77111SHELL PLATING, SURFACE SHIP AND SUBMARINE PRESSURE HULL
78112SHELL PLATING, SUBMARINE NON-PRESSURE HULL
79113INNER BOTTOM
80114SHELL APPENDAGES
81115STANCHIONS
82116LONGIT. FRAMING, SURF SHIP AND SUBMARINE PRESSURE HULL
83117TRANSV. FRAMING, SURFACE SHIP AND SUBMARINE PRESSURE HULL
84118LONGITUDINAL AND TRANSVERSE SUBMARINE NON-PRESSURE HULL
85119LIFT SYSTEM FLEXIBLE SKIRTS AND SEALS
86120HULL STRUCTURAL BULKHEADS
87121LONGITUDINAL STRUCTURAL BULKHEADS
88122TRANSVERSE STRUCTURAL BULKHEADS
89123TRUNKS AND ENCLOSURES
90124BULKHEADS IN TORPEDO PROTECTION SYSTEM
91125SUBMARINE HARD TANKS
92126SUBMARINE SOFT TANKS
93130HULL DECKS
94131MAIN DECK
951322ND DECK
961333RD DECK
971344TH DECK
981355TH DECK AND DECKS BELOW
9913601 HULL DECK (FORECASTLE AND POOP DECKS)
10013702 HULL DECK
10113803 HULL DECK
10213904 HULL DECK AND HULL DECKS ABOVE
103140HULL PLATFORMS AND FLATS
1041411ST PLATFORM
1051422ND PLATFORM
1061433RD PLATFORM
1071444TH PLATFORM
1081455TH PLATFORM
109149FLATS
110150DECK HOUSE STRUCTURE
111151DECKHOUSE STRUCTURE TO FIRST LEVEL
1121521ST DECKHOUSE LEVEL
1131532ND DECKHOUSE LEVEL
1141543RD DECKHOUSE LEVEL
1151554TH DECKHOUSE LEVEL
1161565TH DECKHOUSE LEVEL
1171576TH DECKHOUSE LEVEL
1181587TH DECKHOUSE LEVEL
1191598TH DECKHOUSE LEVEL AND ABOVE
120160SPECIAL STRUCTURES
121161STRUCTURAL CASTINGS, FORGINGS, AND EQUIV. WELDMENTS
122162STACKS AND MACKS (COMBINED STACK AND MAST)
123163SEA CHESTS
124164BALLISTIC PLATING
125165SONAR DOMES
126166SPONSONS
127167HULL STRUCTURAL CLOSURES
128168DECKHOUSE STRUCTURAL CLOSURES
129169SPECIAL PURPOSE CLOSURES AND STRUCTURES
130170MASTS, KINGPOSTS, AND SERVICE PLATFORMS
131171MASTS, TOWERS, TETRAPODS
132172KINGPOSTS AND SUPPORT FRAMES
133179SERVICE PLATFORMS
134180FOUNDATIONS
135181HULL STRUCTURE FOUNDATIONS
136182PROPULSION PLANT FOUNDATIONS
137183ELECTRIC PLANT FOUNDATIONS
138184COMMAND AND SURVEILLANCE FOUNDATIONS
139185AUXILIARY SYSTEMS FOUNDATIONS
140186OUTFIT AND FURNISHINGS FOUNDATIONS
141187ARMAMENT FOUNDATIONS
142188COMMON FOUNDATIONS
143190SPECIAL PURPOSE SYSTEMS
144191BALLAST, FIXED OR FLUID, AND BUOYANCY UNITS
145192COMPARTMENT TESTING
146195ERECTION OF SUB SECTIONS (PROGRESS REPORT ONLY)
147196WELD TOLERANCE
148197MATERIAL TOLERANCE
149198FREE FLOODING LIQUIDS
150199HULL REPAIR PARTS AND SPECIAL TOOLS
151200PROPULSION PLANT, GENERAL
152201GENERAL ARRANGEMENT - PROPULSION DRAWINGS
153202MACHINERY PLANT CENTRAL CONTROL SYSTEMS
154210ENERGY GENERATING SYSTEM (NUCLEAR)
155211(RESERVED)
156212NUCLEAR STEAM GENERATOR
157213REACTORS
158214REACTOR COOLANT SYSTEM
159215REACTOR COOLANT SERVICE SYSTEMS
160216REACTOR PLANT AUXILIARY SYSTEMS
161217NUCLEAR POWER CONTROL AND INSTRUMENTATION
162218RADIATION SHIELDING (PRIMARY)
163219RADIATION SHIELDING (SECONDARY)
164220ENERGY GENERATING SYSTEM (NON-NUCLEAR)
165221PROPULSION BOILERS
166222GAS GENERATORS
167223MAIN PROPULSION BATTERIES
168224MAIN PROPULSION FUEL CELLS
169230PROPULSION UNITS
170231PROPULSION STEAM TURBINES
171232PROPULSION STEAM ENGINES
172233PROPULSION INTERNAL COMBUSTION ENGINES
173234PROPULSION GAS TURBINES
174235ELECTRIC PROPULSION
175236SELF-CONTAINED PROPULSION SYSTEMS
176237AUXILIARY PROPULSION DEVICES
177238SECONDARY PROPULSION (SUBMARINES)
178239EMERGENCY PROPULSION
179240TRANSMISSION AND PROPULSOR SYSTEMS
180241PROPULSION REDUCTION GEARS
181242PROPULSION CLUTCHES AND COUPLINGS
182243PROPULSION SHAFTING
183244PROPULSION SHAFT BEARINGS
184245PROPULSORS
185246PROPULSOR SHROUDS AND DUCTS
186247WATER JET PROPULSORS
187248LIFT SYSTEM FANS AND DUCTING
188249PODDED PROPULSORS
189250PROPULSION SUPPORT SYS. (EXCEPT FUEL AND LUBE OIL)
190251COMBUSTION AIR SYSTEM
191252PROPULSION CONTROL SYSTEM
192253MAIN STEAM PIPING SYSTEM
193254CONDENSERS AND AIR EJECTORS
194255FEED AND CONDENSATE SYSTEM
195256CIRCULATING AND COOLING SEA WATER SYSTEM
196258HP STEAM DRAIN SYSTEM
197259UPTAKES (INNER CASING)
198260PROPULSION SUPPORT SYSTEMS (FUEL AND LUBE OIL)
199261FUEL SERVICE SYSTEM
200262MAIN PROPULSION LUBE OIL SYSTEM
201263SHAFT LUBE OIL SYSTEM (SUBMARINES)
202264LUBE OIL FILL, TRANSFER, AND PURIFICATION
203290SPECIAL PURPOSE SYSTEMS
204298PROPULSION PLANT OPERATING FLUIDS
205299PROPULSION PLANT REPAIR PARTS AND SPECIAL TOOLS
206300ELECTRIC PLANT, GENERAL
207301GENERAL ARRANGEMENT-ELECTRICAL DRAWINGS
208302MOTORS AND ASSOCIATED EQUIPMENT
209303PROTECTIVE DEVICES
210304ELECTRIC CABLES
211305ELECTRICAL DESIGNATING AND MARKING
212310ELECTRIC POWER GENERATION
213311SHIP SERVICE POWER GENERATION
214312EMERGENCY GENERATORS
215313BATTERIES AND SERVICE FACILITIES
216314POWER CONVERSION EQUIPMENT
217320POWER DISTRIBUTION SYSTEMS
218321SHIP SERVICE POWER CABLE
219322EMERGENCY POWER CABLE SYSTEM
220323CASUALTY POWER CABLE SYSTEM
221324SWITCHGEAR AND PANELS
222325ARC FAULT DETECTOR (AFD) SYSTEMS
223330LIGHTING SYSTEM
224331LIGHTING DISTRIBUTION
225332LIGHTING FIXTURES
226340POWER GENERATION SUPPORT SYSTEMS
227341SSTG LUBE OIL
228342DIESEL SUPPORT SYSTEMS
229343TURBINE SUPPORT SYSTEMS
230390SPECIAL PURPOSE SYSTEMS
231398ELECTRIC PLANT OPERATING FLUIDS
232399ELECTRIC PLANT REPAIR PARTS AND SPECIAL TOOLS
233400COMMAND AND SURVEILLANCE, GENERAL
234401GENERAL ARRANGEMENT - COMMAND AND SURVEILLANCE
235402SECURITY REQUIREMENTS
236403PERSONNEL SAFETY
237404RADIO FREQUENCY TRANSMISSION LINES
238405ANTENNA REQUIREMENTS
239406GROUNDING AND BONDING
240407ELECTROMAGNETIC INTERFERENCE REDUCTION (EMI)
241408SYSTEM TEST REQUIREMENTS
242409COMBAT SYSTEM GENERAL REQUIREMENTS
243410COMMAND AND CONTROL SYSTEMS
244411DATA DISPLAY GROUP
245412DATA PROCESSING GROUP
246413DIGITAL DATA SWITCHBOARDS
247414INTERFACE EQUIPMENT
248415DIGITAL DATA COMMUNICATIONS
249417COMMAND AND CONTROL ANALOG SWITCHBOARDS
250420NAVIGATION SYSTEMS
251421NON-ELECTRICAL/NON-ELECTRONIC NAVIGATION AIDS
252422ELECTRICAL NAVIGATION AIDS (INCL NAVIG. LIGHTS)
253423ELECTRONIC NAVIGATION SYSTEMS, RADIO
254424ELECTRONIC NAVIGATION SYSTEMS, ACOUSTICAL
255425PERISCOPES
256426ELECTRICAL NAVIGATION SYSTEMS
257427INERTIAL NAVIGATION SYSTEMS
258428NAVIGATION CONTROL MONITORING
259430INTERIOR COMMUNICATIONS
260431SWITCHBOARDS FOR INTERIOR COMMUNICATION SYSTEMS
261432TELEPHONE SYSTEMS
262433ANNOUNCING SYSTEMS
263434ENTERTAINMENT AND TRAINING SYSTEMS
264435VOICE TUBES AND MESSAGE PASSING SYSTEMS
265436ALARM, SAFETY, AND WARNING SYSTEMS
266437INDICATING, ORDER, AND METERING SYSTEMS
267438CONSOLIDATED CONTROL AND DISPLAY SYSTEMS
268439RECORDING AND TELEVISION SYSTEMS
269440TESTING, INTEGRATED RADIO SYSTEMS
270441RADIO SYSTEMS
271442UNDERWATER SYSTEMS
272443VISUAL AND AUDIBLE COMMUNICATION SYSTEMS
273444TELEMETRY SYSTEMS
274445TELETYPE AND FACSIMILE SYSTEMS
275446SECURITY EQUIPMENT SYSTEMS
276450SURVEILLANCE SYSTEMS, SURFACE AND AIR
277451SURFACE SURVEILLANCE RADAR SYSTEMS
278452AIR SEARCH RADAR (2D)
279453AIR SEARCH RADAR (3D)
280454AIRCRAFT CONTROL APPROACH RADAR
281455IDENTIFICATION SYSTEMS (IFF)
282456MULTIPLE MODE/FUNCTION RADAR
283457INFRARED SURVEILLANCE & TRACKING SYSTEMS
284458AUTOMATIC DETECTION & TRACKING SYSTEMS
285459SPACE VEHICLE ELECTRONIC TRACKING
286460SURVEILLANCE SYSTEMS (UNDERWATER)
287461ACTIVE SONAR
288462PASSIVE SONAR
289463MULTIPLE MODE SONAR
290464CLASSIFICATION SONAR
291465BATHYTHERMOGRAPH
292466MULTI-PURPOSE SHIP EQUIPMENT SYSTEMS
293467OWN NOISE MONITORING SYSTEMS
294470COUNTERMEASURE SYSTEMS
295471ACTIVE EW (INCL COMBINATION ACTIVE/PASSIVE)
296472PASSIVE ECM
297473UNDERWATER COUNTERMEASURES
298474DECOY SYSTEMS
299475DEGAUSSING SYSTEMS
300476MINE COUNTERMEASURE SYSTEMS
301477SIGNATURE MANAGEMENT SYSTEMS
302480FIRE CONTROL SYSTEMS
303481GUN FIRE CONTROL SYSTEMS
304482MISSILE FIRE CONTROL SYSTEMS
305483UNDERWATER FIRE CONTROL SYSTEMS
306484INTEGRATED FIRE CONTROL SYSTEMS
307489WEAPON SYSTEMS SWITCHBOARDS
308490SPECIAL PURPOSE SYSTEMS
309491ELECTRONIC TEST, CHECKOUT, AND MONITORING EQUIPMENT
310492FLIGHT CONTROL AND INSTRUMENT LANDING SYSTEMS
311493AUTOMATED DATA PROCESSING SYSTEMS (NON-COMBAT)
312494METEOROLOGICAL SYSTEMS
313495SPECIAL PURPOSE INTELLIGENCE SYSTEMS
314498COMMAND AND SURVEILLANCE OPERATING FLUIDS
315499COMMAND AND SURV. REPAIR PARTS AND SPECIAL TOOLS
316500AUXILIARY SYSTEMS, GENERAL
317501GENERAL ARRANGEMENT-AUXILIARY SYSTEMS DRAWINGS
318502AUXILIARY MACHINERY
319503PUMPS
320504INSTRUMENTS AND INSTRUMENT BOARDS
321505GENERAL PIPING REQUIREMENTS
322506OVERFLOWS, AIR ESCAPES, AND SOUNDING TUBES
323507MACHINERY AND PIPING DESIGNATION AND MARKING
324508THERMAL INSULATION FOR PIPING AND MACHINERY
325509THERMAL INSULATION FOR VENT AND A/C DUCTS
326510CLIMATE CONTROL
327511COMPARTMENT HEATING SYSTEM
328512VENTILATION SYSTEM
329513MACHINERY SPACE VENTILATION SYSTEM
330514AIR CONDITIONING SYSTEM
331515AIR REVITALIZATION SYSTEMS (SUBMARINES)
332516REFRIGERATION SYSTEM
333517AUXILIARY BOILERS AND OTHER HEAT SOURCES
334520SEA WATER SYSTEMS
335521FIREMAIN AND FLUSHING (SEA WATER) SYSTEM
336522SPRINKLER SYSTEM
337523WASHDOWN SYSTEM
338524AUXILIARY SEA WATER SYSTEM
339526SCUPPERS AND DECK DRAINS
340527FIREMAIN ACTUATED SERVICES - OTHER
341528PLUMBING DRAINAGE
342529DRAINAGE AND BALLASTING SYSTEM
343530FRESH WATER SYSTEMS
344531DISTILLING PLANT
345532COOLING WATER
346533POTABLE WATER
347534AUXILIARY STEAM AND DRAINS WITHIN MACHINERY BOX
348535AUXILIARY STEAM AND DRAINS OUTSIDE MACHINERY BOX
349536AUXILIARY FRESH WATER COOLING
350537FRESH WATER FIREFIGHTING SYSTEMS
351540FUELS AND LUBRICANTS, HANDLING AND STORAGE
352541SHIP FUEL AND FUEL COMPENSATING SYSTEM
353542AVIATION AND GENERAL PURPOSE FUELS
354543AVIATION AND GENERAL PURPOSE LUBRICATING OIL
355544LIQUID CARGO
356545TANK HEATING
357546AUXILIARY LUBRICATION SYSTEMS
358549SPECIAL FUEL AND LUBRICANTS, HANDLING AND STOWAGE
359550AIR, GAS, AND MISCELLANEOUS FLUID SYSTEMS
360551COMPRESSED AIR SYSTEMS
361552COMPRESSED GASES
362553O2 N2 SYSTEM
363554MAIN BALLAST TANK BLOW AND LIST CONTROL SYSTEM
364555FIRE EXTINGUISHING SYSTEMS
365556HYDRAULIC FLUID SYSTEM
366557LIQUID GASES, CARGO
367558SPECIAL PIPING SYSTEMS
368560SHIP CONTROL SYSTEMS
369561STEERING AND DIVING CONTROL SYSTEMS
370562RUDDER
371563HOVERING AND DEPTH CONTROL (SUBMARINE)
372564TRIM AND DRAIN SYSTEMS (SUBMARINES)
373565TRIM AND HEEL SYSTEMS (SURFACE SHIPS)
374566DIVING PLANES AND STABILIZING FINS (SUBMARINES)
375567STRUT AND FOIL SYSTEMS
376568MANEUVERING SYSTEMS
377570REPLENISHMENT SYSTEMS
378571REPLENISHMENT-AT-SEA SYSTEMS
379572SHIP STORES AND EQUIPMENT HANDLING SYSTEMS
380573CARGO HANDLING SYSTEMS
381574VERTICAL REPLENISHMENT SYSTEMS
382575VEHICLE HANDLING AND STOWAGE SYSTEMS
383580MECHANICAL HANDLING SYSTEMS
384581ANCHOR HANDLING AND STOWAGE SYSTEMS
385582MOORING AND TOWING SYSTEMS
386583BOATS, BOAT HANDLING AND STOWAGE SYSTEMS
387584LANDING CRAFT HANDLING AND STOWAGE SYSTEMS
388585ELEVATING AND RETRACTING GEAR
389586AIRCRAFT RECOVERY SUPPORT SYSTEMS
390587AIRCRAFT LAUNCH SUPPORT SYSTEMS
391588AIRCRAFT HANDLING, SERVICING AND STOWAGE
392589MISCELLANEOUS MECHANICAL HANDLING SYSTEMS
393590SPECIAL PURPOSE SYSTEMS
394591SCIENTIFIC AND OCEAN ENGINEERING SYSTEMS
395592SWIMMER AND DIVER SUPPORT AND PROTECTION SYSTEMS
396593ENVIRONMENTAL POLLUTION CONTROL SYSTEMS
397594SUBMARINE RESCUE, SALVAGE, AND SURVIVAL SYSTEMS
398595TOWING, LAUNCHING AND HANDLING FOR UNDERWATER SYS.
399596HANDLING SYS. FOR DIVER AND SUBMERSIBLE VEHICLES
400597SALVAGE SUPPORT SYSTEMS
401598AUXILIARY SYSTEMS OPERATING FLUIDS
402599AUXILIARY SYSTEMS REPAIR PARTS AND TOOLS
403600OUTFIT AND FURNISHINGS, GENERAL
404601GENERAL ARRANGEMENT - OUTFIT AND FURN. DRAWINGS
405602HULL DESIGNATING AND MARKING
406603DRAFT MARKS
407604LOCKS, KEYS, AND TAGS
408605RODENT AND VERMIN PROOFING
409610SHIP FITTINGS
410611HULL FITTINGS
411612RAILS, STANCHIONS, AND LIFELINES
412613RIGGING AND CANVAS
413620HULL COMPARTMENTATION
414621NON-STRUCTURAL BULKHEADS
415622FLOOR PLATES AND GRATINGS
416623LADDERS
417624NON-STRUCTURAL CLOSURES
418625AIRPORTS, FIXED PORTLIGHTS, AND WINDOWS
419630PRESERVATIVES AND COVERINGS
420631PAINTING
421632ZINC AND METALLIC COATINGS
422633CATHODIC PROTECTION
423634DECK COVERING
424635HULL INSULATION
425636HULL DAMPING
426637SHEATHING
427638REFRIGERATED SPACES
428639RADIATION SHIELDING
429640LIVING SPACES
430641OFFICER BERTHING AND MESSING SPACES
431642NONCOMMISSIONED OFFICER BERTHING AND MESSING SPACES
432643ENLISTED PERSONNEL BERTHING AND MESSING SPACES
433644SANITARY SPACES AND FIXTURES
434645LEISURE AND COMMUNITY SPACES
435650SERVICE SPACES
436651COMMISSARY SPACES
437652MEDICAL SPACES
438653DENTAL SPACES
439654UTILITY SPACES
440655LAUNDRY SPACES
441656TRASH DISPOSAL SPACES
442660WORKING SPACES
443661OFFICES
444662MACHINERY CONTROL CENTERS FURNISHINGS
445663ELECTRONICS CONTROL CENTERS FURNISHINGS
446664DAMAGE CONTROL STATIONS
447665WORKSHOPS, LABS, TEST AREAS (INCL PORTABLE TOOLS, EQUIP)
448670STOWAGE SPACES
449671LOCKERS AND SPECIAL STOWAGE
450672STOREROOMS AND ISSUE ROOMS
451673CARGO STOWAGE
452680TRIALS AND CERTIFICATION
453681TRIALS AND CERTIFICATION (FORMERLY 868)
454690SPECIAL PURPOSE SYSTEMS
455691SPECIAL HULL TREATMENT
456698OUTFIT AND FURNISHINGS OPERATING FLUIDS
457699OUTFIT AND FURNISH. REPAIR PARTS AND SPECIAL TOOLS
458700ARMAMENT, GENERAL
459701GENERAL ARRANGEMENT - WEAPONRY SYSTEMS
460702ARMAMENT INSTALLATIONS
461703WEAPONS HANDLING AND STOWAGE, GENERAL
462710GUNS AND AMMUNITION
463711GUNS
464712AMMUNITION HANDLING
465713AMMUNITION STOWAGE
466720MISSILES AND ROCKETS
467721LAUNCHING DEVICES (MISSILES AND ROCKETS)
468722MISSILE, ROCKET, AND GUIDANCE CAPSULE HANDLING SYS.
469723MISSILE AND ROCKET STOWAGE
470724MISSILE HYDRAULICS
471725MISSILE GAS
472726MISSILE COMPENSATING
473727MISSILE LAUNCHER CONTROL
474728MISSILE HEATING, COOLING, TEMPERATURE CONTROL
475729MISSILE MONITORING, TEST AND ALIGNMENT
476730MINES
477731MINE LAUNCHING DEVICES
478732MINE HANDLING
479733MINE STOWAGE
480740DEPTH CHARGES
481741DEPTH CHARGE LAUNCHING DEVICES
482742DEPTH CHARGE HANDLING
483743DEPTH CHARGE STOWAGE
484750TORPEDOES
485751TORPEDO TUBES
486752TORPEDO HANDLING
487753TORPEDO STOWAGE
488754SUBMARINE TORPEDO EJECTION
489755TORPEDO SUPPORT, TEST AND ALIGNMENT
490760SMALL ARMS AND PYROTECHNICS
491761SMALL ARMS AND PYROTECHNIC LAUNCHING DEVICES
492762SMALL ARMS AND PYROTECHNIC HANDLING
493763SMALL ARMS AND PYROTECHNIC STOWAGE
494770CARGO MUNITIONS
495772CARGO MUNITIONS HANDLING
496773CARGO MUNITIONS STOWAGE
497780AIRCRAFT RELATED WEAPONS
498782AIRCRAFT RELATED WEAPONS HANDLING
499783AIRCRAFT RELATED WEAPONS STOWAGE
500784AIRCRAFT RELATED WEAPONS ELEVATORS, UPPER STAGES
501785AIRCRAFT RELATED WEAPONS ELEVATORS, LOWER STAGES
502786AIRCRAFT RELATED WEAPONS, HYDRAULICS
503790SPECIAL PURPOSE SYSTEMS
504792SPECIAL WEAPONS HANDLING
505793SPECIAL WEAPONS STOWAGE
506797MISCELLANEOUS ORDNANCE SPACES
507798ARMAMENT OPERATING FLUIDS
508799ARMAMENT REPAIR PARTS AND SPECIAL TOOLS
509800INTEGRATION/ENGINEERING (SHIPBUILDER RESPONSE)
510801SHIPBUILDERS INFORMATION DRAWINGS
511802CONTRACT DRAWINGS
512803STANDARD DRAWINGS
513804TYPE DRAWINGS
514806STUDY DRAWINGS
515807INSTALLATION CONTROL DRAWINGS
516808INTERFACE CONTROL DRAWINGS
517810PRODUCTION ENGINEERING
518811CONFIGURATION MANAGEMENT (DELETED - SEE 8612 & 8613)
519812CHANGE PROPOSALS, SCOPING AND SHIPCHECKING
520813PLANNING AND PRODUCTION CONTROL
521820SPECIAL DRAWINGS FOR NUCLEAR PROPULSION SYSTEMS
522830DESIGN SUPPORT
523831CONSTRUCTION DRAWINGS
524832SPECIFICATIONS
525833MASS PROPERTIES ENGINEERING
526834COMPUTER PROGRAMS
527835ENGINEERING CALCULATIONS
528836MODELS AND MOCKUPS
529837PHOTOGRAPHS
530838DESIGN/ENGINEERING LIAISON
531839LOFTING
532840QUALITY ASSURANCE
533841TESTS AND INSPECTION, CRITERIA, AND PROCEDURES
534842TRIALS AGENDA PREPARATION, DATA COLLECTION AND ANAL.
535843INCLINING EXPERIMENT AND TRIM DIVE
536844COMBAT SYSTEMS CHECKOUT CRITERIA AND PROCEDURES
537845CERTIFICATION STANDARDS
538850INTEGRATED LOGISTIC SUPPORT ENGINEERING
539851MAINTENANCE
540852SUPPORT AND TEST EQUIPMENT
541853SUPPLY SUPPORT
542854TRANSPORTATION
543855ENGINEERING DRAWINGS AND SPECIFICATIONS
544856TECHNICAL MANUALS AND OTHER DATA
545857FACILITIES
546858PERSONNEL AND TRAINING
547859TRAINING EQUIPMENT
548880AUTHORIZED REPAIR PLANNING
549881FUNDS
550890SPECIAL PURPOSE ITEMS
551891SAFETY
552892HUMAN FACTORS
553893STANDARDIZATION
554894VALUE ENGINEERING
555895RELIABILITY AND MAINTAINABILITY
556896DATA MANAGEMENT
557897PROJECT MANAGEMENT
558900SHIP ASSEMBLY AND SUPPORT SERVICES
559901901 THRU 979 RESERVED FOR IDENT. OF ASSEMBLIES
560980TESTING, RELIEF VALVES
561981INSURANCE
562982TRIALS
563983DELIVERY
564984OPEN AND INSPECT (CONVERSIONS ONLY)
565985FIRE AND FLOODING PROTECTION
566986TESTS AND INSPECTION
567987WEIGHING AND RECORDING
568988CONTRACT DATA REQUIREMENTS (ADMINISTRATION)
569989FITTING-OUT
570990CONSTRUCTION SUPPORT
571991STAGING, SCAFFOLDING, AND CRIBBING
572992TEMPORARY UTILITIES AND SERVICES
573993MATERIAL HANDLING AND REMOVAL
574994CLEANING SERVICES
575995MOLDS AND TEMPLATES, JIGS, FIXTURES, AND SPEC. TOOLS
576996LAUNCHING
577997DRYDOCKING
578F00LOADS (FULL LOAD CONDITION)
579F10SHIPS FORCE, AMPHIB. FORCE, TROOPS AND PASSENGERS
580F11SHIPS OFFICERS
581F12SHIPS NONCOMMISSIONED OFFICERS
582F13SHIPS ENLISTED MEN
583F14MARINES
584F15TROOPS
585F16AIR WING PERSONNEL
586F19OTHER PERSONNEL
587F20MISSION RELATED EXPENDABLES AND SYSTEMS
588F21SHIP AMMUNITION (FOR USE BY SHIP ON WHICH STOWED)
589F22ORDNANCE DELIVERY SYSTEMS AMMUNITION
590F23ORDNANCE DELIVERY SYSTEMS
591F24ORDNANCE REPAIR PARTS (SHIP AMMO)
592F25ORDNANCE REPAIR PARTS (ORDNANCE DELIVERY SYS. AMMO)
593F26ORDNANCE DELIVERY SYSTEMS SUPPORT EQUIPMENT
594F29SPECIAL MISSION RELATED SYSTEMS AND EXPENDABLES
595F30STORES
596F31PROVISIONS AND PERSONNEL STORES
597F32GENERAL STORES
598F33MARINES STORES (FOR SHIP'S COMPLEMENT)
599F39SPECIAL STORES
600F40FUELS AND LUBRICANTS
601F41DIESEL FUEL
602F42JP-5
603F43GASOLINE
604F44DISTILLATE FUEL
605F45NAVY STANDARD FUEL OIL (NSFO)
606F46LUBRICATING OIL
607F49SPECIAL FUELS AND LUBRICANTS
608F50LIQUIDS AND GASES (NON FUEL TYPE)
609F51SEA WATER
610F52FRESH WATER
611F53RESERVE FEED WATER
612F54HYDRAULIC FLUID
613F55SANITARY TANK LIQUID
614F56GAS (NON FUEL TYPE)
615F59MISCELLANEOUS LIQUIDS (NON FUEL TYPE)
616F60CARGO
617F61CARGO, ORDNANCE AND ORDNANCE DELIVERY SYSTEMS
618F62CARGO, STORES
619F63CARGO, FUELS AND LUBRICANTS
620F64CARGO, LIQUIDS (NON FUEL TYPE)
621F65CARGO, CRYOGENIC AND LIQUIFIED GAS
622F66CARGO, AMPHIBIOUS ASSAULT SYSTEMS
623F67CARGO, GASES
624F69CARGO, MISCELLANEOUS
625F70SEA WATER BALLAST (SUBMARINES)
626F71MAIN BALLAST WATER (SUBMARINES)
627F72VARIABLE BALLAST WATER (SUBMARINES)
628F73RESIDUAL WATER (SUBMARINES)
629M00MARGINS
630M10CONTRACTOR CONTROLLED MARGINS
631M11DESIGN AND BUILDING MARGIN
632M12BUILDING MARGIN (RESERVED)
633M20GOVERNMENT CONTROLLED MARGIN (SURFACE SHIP)
634M21PRELIMINARY DESIGN MARGIN (SURFACE SHIP)
635M22CONTRACT DESIGN MARGIN (SURFACE SHIP)
636M23CONTRACT MODIFICATION MARGIN (SURFACE SHIP)
637M24GEM MARGIN (SURFACE SHIP)
638M25FUTURE GROWTH MARGIN (SURFACE SHIP)
639M26SERVICE LIFE MARGIN (SURFACE SHIP)
640M27NUCLEAR MACHINERY MARGIN (SURFACE SHIP)
641M30GOVERNMENT CONTROLLED MARGIN STATUS (SUBMARINES)
642M31PRELIMINARY DESIGN MARGIN (SUBMARINE)
643M32CONTRACT DESIGN MARGIN (SUBMARINE)
644M33NAVSHIPS DEVELOPMENT MARGIN (SUBMARINE)
645M34NUCLEAR MACHINERY MARGIN (SUBMARINE)
646M35FUTURE GROWTH MARGIN (SUBMARINE)
647M36STABILITY LEAD STATUS (SUBMARINE)
648M37TRIMMING LEAD STATUS (SUBMARINE)
649M40BALLAST STATUS (SUBMARINE)
650M41LEAD, INTERNAL (SUBMARINE)
651M42LEAD, EXTERNAL (SUBMARINE)
652M43LEAD, MET (SUBMARINE)
653M44STEEL, INTERNAL (SUBMARINE)
654M45STEEL, EXTERNAL (SUBMARINE)
655M46STEEL, MBT (SUBMARINE)
656M47LEAD CORRECTION, MET (SUBMARINE)
657M48LEAD CORRECTION, OTHER THEN MET (SUBMARINE)
Sheet1


test_sheet_adding_custom_formats.xlsm
A
10
210
311
412
513
614
715
816
917
1018
1120
1221
1322
1423
1524
1625
1730
1831
1932
2033
2134
2235
2340
2441
2542
2643
2744
2845
2950
3051
3152
3253
3354
3460
3561
3662
3763
3864
3965
4066
4167
4268
4369
4470
4571
4672
4773
4874
4975
5076
5177
5278
5379
5480
5581
5682
5783
5884
5985
6086
6187
6288
6389
6490
6591
6692
6793
6894
6995
7096
7197
7298
7399
74100
75101
76110
77111
78112
79113
80114
81115
82116
83117
84118
85119
86120
87121
88122
89123
90124
91125
92126
93130
94131
95132
96133
97134
98135
99136
100137
101138
102139
103140
104141
105142
106143
107144
108145
109149
110150
111151
112152
113153
114154
115155
116156
117157
118158
119159
120160
121161
122162
123163
124164
125165
126166
127167
128168
129169
130170
131171
132172
133179
134180
135181
136182
137183
138184
139185
140186
141187
142188
143190
144191
145192
146195
147196
148197
149198
150199
151200
152201
153202
154210
155211
156212
157213
158214
159215
160216
161217
162218
163219
164220
165221
166222
167223
168224
169230
170231
171232
172233
173234
174235
175236
176237
177238
178239
179240
180241
181242
182243
183244
184245
185246
186247
187248
188249
189250
190251
191252
192253
193254
194255
195256
196258
197259
198260
199261
200262
201263
202264
203290
204298
205299
206300
207301
208302
209303
210304
211305
212310
213311
214312
215313
216314
217320
218321
219322
220323
221324
222325
223330
224331
225332
226340
227341
228342
229343
230390
231398
232399
233400
234401
235402
236403
237404
238405
239406
240407
241408
242409
243410
244411
245412
246413
247414
248415
249417
250420
251421
252422
253423
254424
255425
256426
257427
258428
259430
260431
261432
262433
263434
264435
265436
266437
267438
268439
269440
270441
271442
272443
273444
274445
275446
276450
277451
278452
279453
280454
281455
282456
283457
284458
285459
286460
287461
288462
289463
290464
291465
292466
293467
294470
295471
296472
297473
298474
299475
300476
301477
302480
303481
304482
305483
306484
307489
308490
309491
310492
311493
312494
313495
314498
315499
316500
317501
318502
319503
320504
321505
322506
323507
324508
325509
326510
327511
328512
329513
330514
331515
332516
333517
334520
335521
336522
337523
338524
339526
340527
341528
342529
343530
344531
345532
346533
347534
348535
349536
350537
351540
352541
353542
354543
355544
356545
357546
358549
359550
360551
361552
362553
363554
364555
365556
366557
367558
368560
369561
370562
371563
372564
373565
374566
375567
376568
377570
378571
379572
380573
381574
382575
383580
384581
385582
386583
387584
388585
389586
390587
391588
392589
393590
394591
395592
396593
397594
398595
399596
400597
401598
402599
403600
404601
405602
406603
407604
408605
409610
410611
411612
412613
413620
414621
415622
416623
417624
418625
419630
420631
421632
422633
423634
424635
425636
426637
427638
428639
429640
430641
431642
432643
433644
434645
435650
436651
437652
438653
439654
440655
441656
442660
443661
444662
445663
446664
447665
448670
449671
450672
451673
452680
453681
454690
455691
456698
457699
458700
459701
460702
461703
462710
463711
464712
465713
466720
467721
468722
469723
470724
471725
472726
473727
474728
475729
476730
477731
478732
479733
480740
481741
482742
483743
484750
485751
486752
487753
488754
489755
490760
491761
492762
493763
494770
495772
496773
497780
498782
499783
500784
501785
502786
503790
504792
505793
506797
507798
508799
509800
510801
511802
512803
513804
514806
515807
516808
517810
518811
519812
520813
521820
522830
523831
524832
525833
526834
527835
528836
529837
530838
531839
532840
533841
534842
535843
536844
537845
538850
539851
540852
541853
542854
543855
544856
545857
546858
547859
548880
549881
550890
551891
552892
553893
554894
555895
556896
557897
558900
559901
560980
561981
562982
563983
564984
565985
566986
567987
568988
569989
570990
571991
572992
573993
574994
575995
576996
577997
578F00
579F10
580F11
581F12
582F13
583F14
584F15
585F16
586F19
587F20
588F21
589F22
590F23
591F24
592F25
593F26
594F29
595F30
596F31
597F32
598F33
599F39
600F40
601F41
602F42
603F43
604F44
605F45
606F46
607F49
608F50
609F51
610F52
611F53
612F54
613F55
614F56
615F59
616F60
617F61
618F62
619F63
620F64
621F65
622F66
623F67
624F69
625F70
626F71
627F72
628F73
629M00
630M10
631M11
632M12
633M20
634M21
635M22
636M23
637M24
638M25
639M26
640M27
641M30
642M31
643M32
644M33
645M34
646M35
647M36
648M37
649M40
650M41
651M42
652M43
653M44
654M45
655M46
656M47
657M48
Sheet2
 
Upvote 0
Rather than discussing the limitations of custom formats, wouldn't it be more interesting if you told us what it is you are trying to achieve? perhaps a totally different approach is possible.

Thank you for joining my thread! I tried to explain it at the start of the topic.
I would like to show text in a pivottable without using the option of adding the data to the data model. See an example of this below. The pivottable is part of a larger tool that has a lot of interaction with the user which asks for a lot of refreshing. The data model turned out to decrease performance to much.
I found out I could do it by applying custom number formats to the cells since I have the relation between the number in the pivot table row to the right and the description i want to show. But i can't add all the relations, only up to 206.
Does this make it more clear? Please let me know if there is anything else to make the problem more clear.
1586945214414.png
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,178
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top