+ Reply to Thread
Results 1 to 4 of 4

calling cells that don't = 0, without if statement

  1. #1
    Registered User
    Join Date
    04-12-2006
    Posts
    27

    calling cells that don't = 0, without if statement

    http://img709.imageshack.us/img709/3918/excel.jpg

    I am trying to create a financial worksheet and it is complete except for one issue I cannot figure out. Before I elaborate, I think I could do this with a ton of if statements but if I create a monthly worksheet this is not feasible...

    If the user selects 30 years of investing I am fine b/c the future value of the investment will rest in my last cell provided. BUT if they select 25 years of investing there are 5 cells left open.

    I need to call this cell in another area of the worksheet, but given we do not know what the investor is going to select for years of investing I do not know what cell to call. A bunch of if statements could work...eliminating any cells that = 0, but if I do monthly this would get crazy.

    Any help is appreciated and I can send the worksheet to you if you like.


    ---I uploaded the worksheet...the cell reference in F3 needs to be able to call the last cell the user's fund requires in column B, if statements might get ugly on a monthly basis

    Thanks,

    lovethepirk
    Attached Files Attached Files
    Last edited by lovethepirk; 12-15-2009 at 08:58 PM.

  2. #2
    Forum Expert Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007, 2010
    Posts
    3,978

    Re: calling cells that don't = 0, without if statement

    Suggested formula removed.

    darkyam posted a more efficient approach.
    Last edited by Palmetto; 12-15-2009 at 09:06 PM. Reason: removed formula in deference to more efficient formula posted by darkyam
    Palmetto

    Do you know . . . ?

    You can leave feedback and add to the reputation of all who contributed a helpful response to your solution by clicking the star icon located at the left in one of their post in this thread.

  3. #3
    Forum Expert darkyam's Avatar
    Join Date
    03-05-2008
    Location
    Houston, TX
    MS-Off Ver
    2013
    Posts
    2,191

    Re: calling cells that don't = 0, without if statement

    How about Index(B:B,C1+11)? This assumes C1 is where the number of periods is stored.

  4. #4
    Registered User
    Join Date
    04-12-2006
    Posts
    27

    Re: calling cells that don't = 0, without if statement

    Perfect...Thank you both very much, that was what I needed!

    I never heard of the index function before, I love learning new things, thanks...I will be using that function in the future!!!!

    ltp

+ 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