Thanks, Michael! -----Original Message----- From: excel-macros@googlegroups.com [mailto:excel-mac...@googlegroups.com] On Behalf Of Michael Hayes Sent: Thursday, August 19, 2010 2:37 PM To: MS EXCEL AND VBA MACROS Subject: Re: $$Excel-Macros$$ Need help with a formula
Beckie or is it Becky? Im hoping someone has a more elegant solution than I do...the only way I know how to do it is to create three additional columns. In cell AZ3 I put this formula =IF(R3="NA",IF(T3="NA",IF(V3="NA",IF(X3="NA",IF(Z3="NA",IF(AB3="NA",IF(AD3="NA","NOT CLOSED",AC$1),AA$1),Y$1),W$1),U$1),S$1),Q$1) In cell BA3 I put this formula =IF(AF3="NA",IF(AH3="NA",IF(AJ3="NA",IF(AL3="NA",IF(AN3="NA",IF(AP3="NA",IF(AR3="NA","NOT CLOSED",AQ$1),AO$1),AM$1),AK$1),AI$1),AG$1),AE$1) and in cell BB3 I put this formula =IF(AT3="NA",IF(AV3="NA",IF(AX3="NA","NOT CLOSED",AW$1),AU$1),AS$1) Copy those formulas down your sheet Then in Cell P3 I put this formula =IF(MIN(AZ3:BB3)=0,"NOT CLOSED",MIN(AZ3:BB3)) Copy that down. This will solve your problem until someone provides a more concise & elegant solution. Michael Hayes On Aug 19, 6:18 am, <rebecca.math...@kraft.com> wrote: > The NA is not an error from a formula. Attached is detail of what I > am looking for. Thanks in advance! > > ________________________________ > > From: excel-macros@googlegroups.com > [mailto:excel-mac...@googlegroups.com] On Behalf Of Dave Bonallack > Sent: Thursday, August 19, 2010 12:27 AM > To: excel-macros@googlegroups.com > Subject: RE: $$Excel-Macros$$ Need help with a formula > > Hi Becky, > If XL has put NA in a cell, you must already have a formula there. > You'll need to send a sample workbook so we can see get the whole > picture. > Regards - Dave. > > > Date: Wed, 18 Aug 2010 12:15:30 -0700 > > Subject: $$Excel-Macros$$ Need help with a formula > > From: rebecca.math...@kraft.com > > To: excel-macros@googlegroups.com > > > I am trying to create a formula: > > For a given range which most values are "NA", I want the cell to > > return the value of the cell that is above the first cell that > > contains value <0 (not NA). > > > -- > > ---------------------------------------------------------------------- > -- > ----------> Some important links for excel users: > > 1. Follow us on TWITTER for tips tricks and links : > > http://twitter.com/exceldailytip> 2. Join our LinkedIN group @ > > http://www.linkedin.com/groups?gid=1871310> 3. Excel tutorials > athttp://www.excel-macros.blogspot.com > > 4. Learn VBA Macros athttp://www.quickvba.blogspot.com > > 5. Excel Tips and Tricks athttp://exceldailytip.blogspot.com > > > To post to this group, send email to excel-macros@googlegroups.com > > > <><><><><><><><><><><><><><><><><><><><><><> > > HELP US GROW !! > > > We reach over 7000 subscribers worldwide and receive many nice notes > > about the learning and support from the group.Let friends and > co-workers know they can subscribe to group > athttp://groups.google.com/group/excel-macros/subscribe > > -- > ---------------------------------------------------------------------- > -- > ---------- > Some important links for excel users: > 1. Follow us on TWITTER for tips tricks and links > :http://twitter.com/exceldailytip 2. Join our LinkedIN group > @http://www.linkedin.com/groups?gid=1871310 > 3. Excel tutorials athttp://www.excel-macros.blogspot.com > 4. Learn VBA Macros athttp://www.quickvba.blogspot.com > 5. Excel Tips and Tricks athttp://exceldailytip.blogspot.com > > To post to this group, send email to excel-macros@googlegroups.com > > <><><><><><><><><><><><><><><><><><><><><><> > HELP US GROW !! > > We reach over 7000 subscribers worldwide and receive many nice notes > about the learning and support from the group.Let friends and > co-workers know they can subscribe to group > athttp://groups.google.com/group/excel-macros/subscribe > > Excel Help Example.xls > 43KViewDownload -- ---------------------------------------------------------------------------------- Some important links for excel users: 1. Follow us on TWITTER for tips tricks and links : http://twitter.com/exceldailytip 2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310 3. Excel tutorials at http://www.excel-macros.blogspot.com 4. Learn VBA Macros at http://www.quickvba.blogspot.com 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com To post to this group, send email to excel-macros@googlegroups.com <><><><><><><><><><><><><><><><><><><><><><> HELP US GROW !! We reach over 7000 subscribers worldwide and receive many nice notes about the learning and support from the group.Let friends and co-workers know they can subscribe to group at http://groups.google.com/group/excel-macros/subscribe -- ---------------------------------------------------------------------------------- Some important links for excel users: 1. Follow us on TWITTER for tips tricks and links : http://twitter.com/exceldailytip 2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310 3. Excel tutorials at http://www.excel-macros.blogspot.com 4. Learn VBA Macros at http://www.quickvba.blogspot.com 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com To post to this group, send email to excel-macros@googlegroups.com <><><><><><><><><><><><><><><><><><><><><><> HELP US GROW !! We reach over 7000 subscribers worldwide and receive many nice notes about the learning and support from the group.Let friends and co-workers know they can subscribe to group at http://groups.google.com/group/excel-macros/subscribe