+ Reply to Thread
Results 1 to 4 of 4

If statement is driving me crazy

  1. #1
    Registered User
    Join Date
    03-29-2014
    Location
    PA
    MS-Off Ver
    Excel 2007
    Posts
    17

    If statement is driving me crazy

    Hi All,

    I am trying to create a formula that will populate as follows:
    If the first cell of a row set is equal to "Y" then fill in all the other cells in the same row set to "Y". If the row set changes and the top row does not equal "Y" then leave as is. I have attached an example to this post.

    I need to fill out a spreadsheet that is 1000s of rows and I am hoping I can just get excel do the work for me.

    All of my attempts create circular references.

    Any insight anyone might be able to provide would be greatly appreciated!

    Thank you!
    Attached Files Attached Files

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: If statement is driving me crazy

    Based on your sample, I used this in M2, copied down...
    =IF(AND(J3<>J2,K3=""),"",IF(J3=J2,M2,K3))
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    03-29-2014
    Location
    PA
    MS-Off Ver
    Excel 2007
    Posts
    17

    Re: If statement is driving me crazy

    Hi FDibbins,

    I'm afraid I tried your suggestion and received a circular reference warning. Are you able to upload your file so I can see the formula in a sheet?

    Please let me know.

    Thank you!

  4. #4
    Registered User
    Join Date
    03-29-2014
    Location
    PA
    MS-Off Ver
    Excel 2007
    Posts
    17

    Re: If statement is driving me crazy

    Sorry, I was copying into M2 when I needed to copy into M3. You are a life saver!

    Your help is much appreciated!!!

    Seriously lol!

+ 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] Sumifs driving me crazy
    By bcann in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-14-2012, 10:24 PM
  2. This is driving me crazy!!
    By rtausch in forum Excel General
    Replies: 0
    Last Post: 10-15-2008, 06:33 PM
  3. please please help driving me crazy
    By jilly jess in forum Excel General
    Replies: 1
    Last Post: 01-14-2007, 09:59 AM
  4. Driving me crazy!
    By RobEdgeler in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-03-2005, 05:19 PM
  5. [SOLVED] basic...but driving me crazy!
    By hawsoon13 in forum Excel General
    Replies: 3
    Last Post: 05-07-2005, 09:07 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