Thread: [Solved] Modelling and Formatting
View Single Post
 
Old 02-19-2014, 12:39 AM
macropod's Avatar
macropod macropod is offline Windows 7 32bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,363
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Your dropdown would need a lookup table with both the CELL format codes and their descriptions. Look up Excel's Help file for the CELL function to see what those are. I'm not sure how you'd plan to use the dropdown, though.

To return the codes for a positive match you could use:
=IF(AND(CELL("format",A1)=CELL("format",B1),CELL(" format",A1)=CELL("format",C1))=TRUE,CELL("format", A1),FALSE)
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote