+ Reply to Thread
Results 1 to 3 of 3

Change Column of Data From Number to Currency Based on Header

  1. #1
    Registered User
    Join Date
    02-08-2017
    Location
    Virginia
    MS-Off Ver
    2010
    Posts
    77

    Change Column of Data From Number to Currency Based on Header

    Hello,

    I was wondering if there was a way, maybe by conditionally formatting or a Macro if needed, to find a specific Column Header and then format all of the cells under that to a certain format.

    As a specific example, I would like to find "$" in row three, and then format that whole column to Currency.

    I'm not sure if this requires a macro, or if I am missing something obvious with conditional formatting, but I would appreciate any help that you can provide.

    Thank you!

  2. #2
    Forum Expert leelnich's Avatar
    Join Date
    03-20-2017
    Location
    Delaware, USA
    MS-Off Ver
    Office 2016
    Posts
    2,807

    Re: Change Column of Data From Number to Currency Based on Header

    Hi Yoandsm, yes, assuming your headers are in row 3, you could use this conditional formatting formula (in A4 and copy):
    =ISNUMBER(SEARCH(A$3,"$"))

    Please click the Add Reputation star below any helpful posts, and if you have your answer, mark your thread as SOLVED (Thread Tools up top). Thanks!-Lee
    Last edited by leelnich; 05-22-2017 at 01:51 PM.

  3. #3
    Registered User
    Join Date
    02-08-2017
    Location
    Virginia
    MS-Off Ver
    2010
    Posts
    77

    Re: Change Column of Data From Number to Currency Based on Header

    Great, thanks so much! That was very helpful

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Rearrange(sort) Columns based on number in Column header string.
    By hifliers in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-04-2014, 01:36 AM
  2. Find Column Number Based on Column Header
    By chicagoland8 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-09-2014, 11:58 AM
  3. [SOLVED] Change all matching Value based on number change in Column Excel 2007
    By Excelnoub in forum Excel Programming / VBA / Macros
    Replies: 20
    Last Post: 02-20-2014, 11:40 AM
  4. Return column header based on column criteria and number value
    By bwill22 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-07-2014, 07:33 PM
  5. Match Column A's Project number to change based on greater number in new row
    By Excelnoub in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-02-2013, 10:18 AM
  6. Replies: 3
    Last Post: 01-31-2013, 09:38 PM
  7. Replies: 0
    Last Post: 09-28-2012, 07:55 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1