SunQuest
 
           Programming Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsOtherProgramming Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today!
  #1  
Old January 12th, 2004, 05:39 PM
OneRedLT4's Avatar
OneRedLT4 OneRedLT4 is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Location: California
Posts: 298 OneRedLT4 User rank is Corporal (100 - 500 Reputation Level)OneRedLT4 User rank is Corporal (100 - 500 Reputation Level)OneRedLT4 User rank is Corporal (100 - 500 Reputation Level)OneRedLT4 User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 20 h 40 m 16 sec
Reputation Power: 7
Send a message via AIM to OneRedLT4 Send a message via Yahoo to OneRedLT4
Question Excel formula help

In an excel spreadsheet, I have a row of cells (we'll call it row #27) that show the results of the different inputs of it's column. Because of the way the spreadsheet was designed (not by me) these are every other column and there are 16 of them. The last column (the 17th) has the totals of the rows going across. In this last column, cell 27 needs to equal the value of the nearest cell to it's left that's not Null. In otherwords, at any given time, not every column is filled with info, and not until the column is filled out does the cell #27 produce a running calculation.
Example: A27, C27, E27, G27 have values. I27, K27, and M27 does not ahve values. So N27 needs to show the same value as G27, but when the next update comes and I27 gets a value, N27 needs to show that. I hope this makes sense. I was told that Excel has this formula biult in, but I can't find it.
Thanks.
Jim

Reply With Quote
  #2  
Old January 22nd, 2004, 09:56 PM
sbaxter sbaxter is offline
Moderator: Access, SQL
ASP Free God (5000 - 5499 posts)
 
Join Date: Oct 2003
Posts: 5,126 sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 4 Days 1 h 2 m 51 sec
Reputation Power: 12
You would use an IIF statement and look in the closest column for a value, if one exist you populate the N27 with that value other wise look in the next column



example

=IIF(len(M27)>0,M27,=IIF(len(K27)>0,K27,=IIF(len(I27)>0,I27,..... ))


S-

Reply With Quote
Reply

Viewing: ASP Free ForumsOtherProgramming Help > Excel formula help


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway