Results 1 to 6 of 6

Need help with IF statement, possibly a macro

Threaded View

  1. #1
    Registered User
    Join Date
    09-30-2013
    Location
    Up north
    MS-Off Ver
    Excel 2003
    Posts
    3

    Need help with IF statement, possibly a macro

    Hi everyone! I'm new here. I can't get Excel to do what I want it to for this spreadsheet at work. Basically, if I put a number in cell A1 I want a few other cells to turn the color yellow and an "X" to be placed in other cells. Cell A1 can have either a 1, 2, 3 or 4 placed in it.

    If A1 = 1, I want cell B1 to turn yellow and an "X" be placed in C1.
    If A1 = 2, I want cells B1 & B2 to turn yellow and an "X" be placed in cells C1 & C2.
    If A1 = 3, I want cells B1, B2 & B3 to turn yellow and an "X" be placed in cells C1, C2 & C3.
    If A1 = 4, I want cells B1, B2, B3 & B4 to turn yellow and an "X" be placed in cells C1, C2, C3 & C4.

    I hope that makes sense. Is this something that can be achieve through IF statements or am I looking at a macro? I have Excel 2003. Thank you in advance.

    Chris
    Last edited by Homegrown; 09-30-2013 at 11:42 AM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Excel formula help - possibly If(or) statement
    By mcranda in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 09-12-2013, 04:11 PM
  2. How to combine data from 2 rows, possibly with IF statement involved.
    By sark1014 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-08-2012, 04:31 PM
  3. Possibly If/Then Statement
    By mchekmareva in forum Excel General
    Replies: 1
    Last Post: 09-19-2011, 06:55 PM
  4. startup macro for filename, possibly macro name
    By rcook in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-25-2008, 02:36 AM
  5. [SOLVED] Please help! - Possibly need a Macro?
    By Vertoobli in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 03-10-2006, 04:30 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