+ Reply to Thread
Results 1 to 4 of 4

incrementing one field based on another field

Hybrid View

  1. #1
    Registered User
    Join Date
    12-04-2012
    Location
    Estacada, OR
    MS-Off Ver
    Excel 2010
    Posts
    97

    incrementing one field based on another field

    I have the following formula in cell E32:

    =IF(D32="Pattern",D33+1,"")
    I am trying to make cell E32 increment or add 1 to cell D33 and display the result in E32. However, I am getting nothing, which I understand why I am getting. I don't understand why I am not getting the value of 3. I have attached the file.
    Attached Files Attached Files
    Last edited by nicolelschramartin; 12-21-2012 at 02:07 AM.

  2. #2
    Forum Expert
    Join Date
    11-28-2012
    Location
    Guatemala
    MS-Off Ver
    Excel 2010
    Posts
    2,394

    Re: incrementing one field based on another field

    the reason is that D32 is part of a merged cell try b32 (which is the merged cells name). Do the same for D33 try B33

  3. #3
    Forum Expert Moo the Dog's Avatar
    Join Date
    09-28-2012
    Location
    Wisconsin
    MS-Off Ver
    Office 365 (PC & Mac)
    Posts
    1,845

    Re: incrementing one field based on another field

    Because the cell with a 2 in it, the one you are trying to increment is actually B33, not D33

    - Moo

    Merged cells are terrible for calculations

    * What rcm said.

  4. #4
    Registered User
    Join Date
    12-20-2012
    Location
    Pakistan
    MS-Off Ver
    Excel 2010
    Posts
    3

    Cool Re: incrementing one field based on another field

    B33 and D33 merged.
    you were using incorrect cell reference. Attached file is corrected. PM me if satisfied
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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