<?xml version="1.0" encoding="ISO-8859-1"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>ExcelBanter</title>
		<link>http://www.excelbanter.com</link>
		<description>A Excel forum covering all aspects of Microsoft Excel acting as a web gateway with the finest Micorsoft Excel community newsgroups</description>
		<language>en</language>
		<lastBuildDate>Wed, 22 May 2013 13:05:18 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://www.excelbanter.com/images/002/misc/rss.jpg</url>
			<title>ExcelBanter</title>
			<link>http://www.excelbanter.com</link>
		</image>
		<item>
			<title>VBA Macro to customize Right Header</title>
			<link>http://www.excelbanter.com/showthread.php?t=448800&amp;goto=newpost</link>
			<pubDate>Wed, 22 May 2013 12:14:57 GMT</pubDate>
			<description>Hi! :-)

I have spent the last few days trying to make a macro in vba to customize the right header, in a excel sheet with multiple pages, but without much...</description>
			<content:encoded><![CDATA[<div>Hi! :-)<br />
<br />
I have spent the last few days trying to make a macro in vba to customize the right header, in a excel sheet with multiple pages, but without much success. :-(<br />
<br />
I need some help to do the following macro:<br />
<br />
&quot;In first right header page&quot;: N. M001 a M002<br />
&quot;In second right header page&quot;: N. M003 a M004<br />
&quot;In third right header page&quot;: N. M005 a M006<br />
&quot;In fourth right header page&quot;: N. M007 a M008<br />
&quot;In fifth right header page&quot;: N. M009 a M010<br />
&quot;In sixth right header page&quot;: N. M011 a M012<br />
&quot;In seventh right header page&quot;: N. M013 a M014<br />
&quot;In eighth right header page&quot;: N. M015 a M016   <br />
...<br />
...<br />
...<br />
to the last page<br />
<br />
<br />
Thanks in advance<br />
<br />
 <br />
</div>

]]></content:encoded>
			<category domain="http://www.excelbanter.com/forumdisplay.php?f=10">Excel Programming</category>
			<dc:creator>kimkiko@gmail.com</dc:creator>
			<guid isPermaLink="true">http://www.excelbanter.com/showthread.php?t=448800</guid>
		</item>
		<item>
			<title>MS Query</title>
			<link>http://www.excelbanter.com/showthread.php?t=448799&amp;goto=newpost</link>
			<pubDate>Wed, 22 May 2013 09:19:55 GMT</pubDate>
			<description>I have created a Workbook(A) which extracts data from different workbooks(B to G) by using MS Query and stores in Workbook (A)

Workbook(A) is sitting on...</description>
			<content:encoded><![CDATA[<div>I have created a Workbook(A) which extracts data from different workbooks(B to G) by using MS Query and stores in Workbook (A)<br />
<br />
Workbook(A) is sitting on Server A.<br />
<br />
Workbooks (B to G) are located on N, O, P, Q, R, S i.e. 6 different servers on 6 different locations in 6 different cities.<br />
<br />
Workbook(A) has a macro assigned to run the MS Query (Refresh all)<br />
<br />
I am connected to Server A and so as my colleague.<br />
<br />
Workbook (A) is saved in a folder to which both of us have same access rights to alter, modify etc. all the files.<br />
<br />
I can always use macro to refresh all the data and the query runs perfectly fine. However, my colleague encounters a problem and even though can access the file, he is not able to use Macro to refresh and run the query (the error message pertains to path)<br />
<br />
I have reached a deadlock and do not have any answer to why. I can fully understand that path problems will come for my colleagues sitting on different servers but I have failed to understand as to why we 2 of us sitting on same server in same folder but my colleague cannot run the query. <br />
<br />
Any help would be greatly appreciated.<br />
<br />
Ps: I am not technically strong rather a DIY person.</div>

]]></content:encoded>
			<category domain="http://www.excelbanter.com/forumdisplay.php?f=10">Excel Programming</category>
			<dc:creator>SinghNZ</dc:creator>
			<guid isPermaLink="true">http://www.excelbanter.com/showthread.php?t=448799</guid>
		</item>
		<item>
			<title>Standard column width in points...</title>
			<link>http://www.excelbanter.com/showthread.php?t=448798&amp;goto=newpost</link>
			<pubDate>Wed, 22 May 2013 07:35:01 GMT</pubDate>
			<description>Hi,


I can read the standard column width of a sheet with 
ActiveSheet.StandardWidth

....but this gives me the width in chars....

How to get the standard...</description>
			<content:encoded><![CDATA[<div>Hi,<br />
<br />
<br />
I can read the standard column width of a sheet with <br />
ActiveSheet.StandardWidth<br />
<br />
....but this gives me the width in chars....<br />
<br />
How to get the standard columnwidth in points?<br />
<br />
<br />
TIA,<br />
<br />
CE<br />
<br />
</div>

]]></content:encoded>
			<category domain="http://www.excelbanter.com/forumdisplay.php?f=10">Excel Programming</category>
			<dc:creator><![CDATA[Charlotte E.[_3_]]]></dc:creator>
			<guid isPermaLink="true">http://www.excelbanter.com/showthread.php?t=448798</guid>
		</item>
		<item>
			<title>Compare shorter date range against longer date range</title>
			<link>http://www.excelbanter.com/showthread.php?t=448797&amp;goto=newpost</link>
			<pubDate>Tue, 21 May 2013 14:16:08 GMT</pubDate>
			<description><![CDATA[Hi Excel Gurus !

I am in need of a macro / formula which is able to find the missing date range(s).
Example:
John stayed in Apartment A&B for period : 1...]]></description>
			<content:encoded><![CDATA[<div>Hi Excel Gurus !<br />
<br />
I am in need of a macro / formula which is able to find the missing date range(s).<br />
Example:<br />
John stayed in Apartment A&amp;B for period : 1 February until 15 September.<br />
<br />
Rental paid shown in records :<br />
Apartment A rental period : 1 January until 28 February<br />
Apartment B rental period : 1 April until 31 July<br />
Apartment A rental again : 1 June until 31 August (overlaps)<br />
<br />
The above start date - end date is keyed into cell A1:B3.<br />
<br />
I need excel to show results :<br />
1 March - 31 March<br />
1 September - 15 September<br />
which represent periods where no rental paid was shown in records.<br />
<br />
My thousand thanks! in advance for any help on this.<br />
SauQ<br />
</div>

]]></content:encoded>
			<category domain="http://www.excelbanter.com/forumdisplay.php?f=10">Excel Programming</category>
			<dc:creator>SauQ</dc:creator>
			<guid isPermaLink="true">http://www.excelbanter.com/showthread.php?t=448797</guid>
		</item>
		<item>
			<title>Columnwidth in milimeters?</title>
			<link>http://www.excelbanter.com/showthread.php?t=448796&amp;goto=newpost</link>
			<pubDate>Tue, 21 May 2013 10:01:11 GMT</pubDate>
			<description>Hi,


Is it possible to _READ_ the width of a column in milimeters?

I can get it in chars, pixels and points, but how to get the width of a 
column in...</description>
			<content:encoded><![CDATA[<div>Hi,<br />
<br />
<br />
Is it possible to _READ_ the width of a column in milimeters?<br />
<br />
I can get it in chars, pixels and points, but how to get the width of a <br />
column in milimeters???<br />
<br />
<br />
TIA,<br />
<br />
CE<br />
</div>

]]></content:encoded>
			<category domain="http://www.excelbanter.com/forumdisplay.php?f=10">Excel Programming</category>
			<dc:creator><![CDATA[Charlotte E.[_3_]]]></dc:creator>
			<guid isPermaLink="true">http://www.excelbanter.com/showthread.php?t=448796</guid>
		</item>
		<item>
			<title>Advanced Drop-down Menu</title>
			<link>http://www.excelbanter.com/showthread.php?t=448795&amp;goto=newpost</link>
			<pubDate>Tue, 21 May 2013 04:45:38 GMT</pubDate>
			<description>I am trying to incorporate data from another sheet from the same file into a drop-down choice on a menu constructed on the last page of the file. I am using...</description>
			<content:encoded><![CDATA[<div>I am trying to incorporate data from another sheet from the same file into a drop-down choice on a menu constructed on the last page of the file. I am using Excel 2007 btw.<br />
<br />
I'm looking to have 3 different choices.<br />
<br />
<br />
The file is DCF financial model projecting future cash-flows of a company. The three choices will be:<br />
- Conservative<br />
- Base<br />
- Aggressive<br />
<br />
As the the choices are selected, I want numbers from the other worksheets to display when selected instead of the viewer flipping back-and-forth between sheets to find data.<br />
<br />
I would like all the numbers to be copied from the 3 different worksheets. <br />
<br />
I have searched day and night for a solution and have tried many different formulas in order to properly execute but have been unsuccessful at it. Not sure what I am missing or doing wrong. Should be a simple process for someone who is an expert at this type of issue.<br />
<br />
Be more than happy to send file to get a good feel as to what I am working with. Looking forward to a response to same much time and stress. Thx.</div>

]]></content:encoded>
			<category domain="http://www.excelbanter.com/forumdisplay.php?f=5">Excel Worksheet Functions</category>
			<dc:creator>Jaz3385</dc:creator>
			<guid isPermaLink="true">http://www.excelbanter.com/showthread.php?t=448795</guid>
		</item>
		<item>
			<title>Fit a Logistic Curve</title>
			<link>http://www.excelbanter.com/showthread.php?t=448794&amp;goto=newpost</link>
			<pubDate>Tue, 21 May 2013 04:43:14 GMT</pubDate>
			<description>Hello all

First time poster, so I apologize for any formatting issues.

I am working on an assignment, and am posting here because I couldnt make it to class...</description>
			<content:encoded><![CDATA[<div>Hello all<br />
<br />
First time poster, so I apologize for any formatting issues.<br />
<br />
I am working on an assignment, and am posting here because I couldnt make it to class to learn the material.<br />
<br />
I was given very simple data with X ranging from 1-5, and Y ranging from .4-.9.<br />
x	y<br />
1	0.4016458<br />
2	0.5747817<br />
3	0.7313313<br />
4	0.8457159<br />
5	0.9169331<br />
<br />
How do I fit a logistic curve f(x) = 1/(1+e^(-a*(x-c))) to this made up data?<br />
<br />
plotting these points gives me a somewhat linear relationship but the instructions say that it is 1) not the same as a log curve, and 2) that i cant simply do this using a trendline.<br />
<br />
What does he mean when he says that i require setting up decision variables, predicted values, residuals, and a objective function cell.<br />
<br />
Iam suppose to use the Solver add-in.<br />
<br />
<br />
== My questions ==<br />
How do I identify the variable a and c?<br />
Do I attain a, c and my predicted values from using the Analysis function over the y variable?<br />
<br />
I am really confused about this topic. Ive been searching for &quot;fit logistic curve excel&quot; on google and youtube and many of these descriptions do not come close to what I am asking (i think). Usually i find some guidance in these help tutorials, however this time I can not find anything.<br />
<br />
<br />
EDIT: I have been following a template that my prof created for a separate data and I have used Sine and Cosine variables to conduct a regression analysis to find predicted Y values. I got the prediction/residual of that data set, but am stuck as to fit the graph :(. Iam guessing that the sine and cosine were the decision variable, and if iam correct i do not know how to translate the concept to this problem.<br />
<br />
Any guidance would be wonderful<br />
<br />
Much Appreciated<br />
teh2heartedale</div>

]]></content:encoded>
			<category domain="http://www.excelbanter.com/forumdisplay.php?f=4">New Users to Excel</category>
			<dc:creator>teh2heartedale</dc:creator>
			<guid isPermaLink="true">http://www.excelbanter.com/showthread.php?t=448794</guid>
		</item>
		<item>
			<title>Loop thru folder and get similar names</title>
			<link>http://www.excelbanter.com/showthread.php?t=448793&amp;goto=newpost</link>
			<pubDate>Mon, 20 May 2013 21:05:12 GMT</pubDate>
			<description>Hi,I have a requirement that i am trying to code,i have 2 environments beta and prod that has reports (30+).these reports are in .xls format.Eg:Beta...</description>
			<content:encoded><![CDATA[<div>Hi,I have a requirement that i am trying to code,i have 2 environments beta and prod that has reports (30+).these reports are in .xls format.Eg:Beta report:AUD210ba_-_Research_Ratings_Audit.xls <br />
and prod report is AUD210ba_-_Research_Ratings_Audit_Prod.xls.similarly with all the reports.the requirement is i have to browse thru the directory of the given path and get the first report and browse thru the same directory and match this name with &quot;_Prod&quot; extension file and then compare 2 files sheet by sheet and create a report.I have the compare subroutine and the report creation.but the challenge is i am unable to loop thru the files and get the files with simliar names.Need advice.</div>

]]></content:encoded>
			<category domain="http://www.excelbanter.com/forumdisplay.php?f=10">Excel Programming</category>
			<dc:creator>Xlbeginer</dc:creator>
			<guid isPermaLink="true">http://www.excelbanter.com/showthread.php?t=448793</guid>
		</item>
		<item>
			<title>VBA Loop through Specific Subfolders to find files (drill down 4 levels)</title>
			<link>http://www.excelbanter.com/showthread.php?t=448792&amp;goto=newpost</link>
			<pubDate>Mon, 20 May 2013 20:31:46 GMT</pubDate>
			<description><![CDATA[I have a complicated problem. I'm trying to loop through several directories to find a particular file. Here is a sample of my folder structure...]]></description>
			<content:encoded><![CDATA[<div>I have a complicated problem. I'm trying to loop through several directories to find a particular file. Here is a sample of my folder structure &quot;MainDirectory/YYYYMMDD/DETAILS/FOLDER/File.xlsx&quot;. <br />
<br />
My goal is to find that particular file, but I need to drill down to it. I have to start at that MainDirectory, because I need to loop through those date folders. There are other folders in that MainDirectory, which is why I'm trying to limit the search to just those date folders. Here is my code that lets me loop through the subfolders, but I can't drill down far enough to find my file. <br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">&nbsp; Public Folder_Name2 As String<br />
<br />
&nbsp; Private Declare Function SetCurrentDirectoryA Lib _<br />
&nbsp; &nbsp; &quot;kernel32&quot; (ByVal lpPathName As String) As Long<br />
&nbsp;  <br />
&nbsp; Public Function Path_Name2()<br />
&nbsp; &nbsp; With Application.FileDialog(msoFileDialogFolderPicker)<br />
&nbsp; &nbsp; &nbsp; &nbsp; .InitialFileName = &quot;C:\MyDocuments\&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; .Show<br />
&nbsp; &nbsp; End With<br />
&nbsp; &nbsp; On Error Resume Next<br />
&nbsp; &nbsp; Path_Name2 = Application.FileDialog(msoFileDialogFolderPicker).SelectedItems(1)<br />
&nbsp; &nbsp; Err.Clear<br />
&nbsp; &nbsp; On Error GoTo 0<br />
&nbsp; On Error GoTo 0<br />
&nbsp; End Function<br />
&nbsp; &nbsp; <br />
Sub ChDirNet(szPath As String)<br />
&nbsp; &nbsp; Dim lReturn As Long<br />
&nbsp; &nbsp; &nbsp; &nbsp; lReturn = SetCurrentDirectoryA(szPath)<br />
&nbsp; &nbsp; If lReturn = 0 Then Err.Raise vbObjectError + 1, &quot;Error setting path.&quot;<br />
End Sub<br />
<br />
Sub ListFiles()<br />
&nbsp;  Call ListFilesInFolder_2014(Path_Name2, True, False)<br />
End Sub<br />
<br />
'BUILD LIST OF FILES TO IMPORT<br />
Function ListFilesInFolder_2014(SourceFolderName As String, IncludeSubfolders As Boolean, IncludeEmptyFolders As Boolean)<br />
' lists information about the files in SourceFolder<br />
' example: ListFilesInFolder &quot;C:\FolderName\&quot;, True<br />
Dim FSO As Scripting.FileSystemObject<br />
Dim SourceFolder As Scripting.Folder, SubFolder As Scripting.Folder<br />
Dim FileItem As Scripting.File<br />
'Dim r As Long<br />
Dim strChar As String<br />
Dim strChildFolder As String<br />
Dim strFullPath As String<br />
Dim intFCount As Integer<br />
Dim strSourceFolderName As String<br />
On Error GoTo Errhandler<br />
<br />
&nbsp; &nbsp; Set FSO = New Scripting.FileSystemObject<br />
&nbsp; &nbsp; Set SourceFolder = FSO.GetFolder(SourceFolderName)<br />
&nbsp; &nbsp; 'r = Range(&quot;A65536&quot;).End(xlUp).Row + 1<br />
&nbsp; &nbsp; intFCount = SourceFolder.Files.Count<br />
&nbsp; &nbsp; strSourceFolderName = SourceFolder.Path<br />
&nbsp; &nbsp; Debug.Print (strSourceFolderName)<br />
&nbsp; &nbsp; If intFCount = 0 Then<br />
&nbsp; &nbsp; End If<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; For Each FileItem In SourceFolder.Files<br />
&nbsp; &nbsp; &nbsp; &nbsp; ' display file properties<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; intCheck = 1<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; strChar = &quot;&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Do Until Left(strChar, 1) = &quot;\&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; strChar = Right(FileItem.ParentFolder, intCheck)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; strChildFolder = strChar &amp; strChildFolder<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; intCheck = 1 + intCheck<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Loop<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; strChildFolder = Trim(Mid(strChar, 2, 20))<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 'Debug.Print FileItem.Name &amp; &quot;[]&quot; &amp; strChildFolder<br />
&nbsp; &nbsp; &nbsp; &nbsp; 'With FileItem<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; If FileItem.Name = &quot;FileName.xlsx&quot; Then<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Workbooks.Open (FileItem.Path)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 'Do whatever<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Workbooks(FileItem.Name).Close SaveChanges:=False<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; End If<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; Next FileItem<br />
&nbsp; &nbsp; If IncludeSubfolders Then<br />
&nbsp; &nbsp; &nbsp; &nbsp; For Each SubFolder In SourceFolder.SubFolders<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ListFilesInFolder SubFolder.Path, True, IncludeEmptyFolders<br />
&nbsp; &nbsp; &nbsp; &nbsp; Next SubFolder<br />
&nbsp; &nbsp; End If<br />
&nbsp; &nbsp; Set FileItem = Nothing<br />
&nbsp; &nbsp; Set SourceFolder = Nothing<br />
&nbsp; &nbsp; Set FSO = Nothing<br />
Exit Function<br />
<br />
Errhandler:<br />
MsgBox Err.Number &amp; &quot; - &quot; &amp; Err.Description<br />
End Function</code><hr />
</div>Any help is appreciated!</div>

]]></content:encoded>
			<category domain="http://www.excelbanter.com/forumdisplay.php?f=10">Excel Programming</category>
			<dc:creator>KeriM</dc:creator>
			<guid isPermaLink="true">http://www.excelbanter.com/showthread.php?t=448792</guid>
		</item>
		<item>
			<title>Using VBA to copy data into another worksheet ???</title>
			<link>http://www.excelbanter.com/showthread.php?t=448791&amp;goto=newpost</link>
			<pubDate>Mon, 20 May 2013 19:19:16 GMT</pubDate>
			<description>I have an Excel workbook with 5 worksheets (individuals fill out their appropriate worksheet columns A to AW).  There is a Totals worksheet in the workbook...</description>
			<content:encoded><![CDATA[<div>I have an Excel workbook with 5 worksheets (individuals fill out their appropriate worksheet columns A to AW).  There is a Totals worksheet in the workbook that has a command click update button.  The update button starts with the 1st individual worksheet and using column A (until column A is empty) copies the information onto the Totals worksheet....it then moves to the next individual worksheet and does the same thing.  The problem is that it appears vba will only copy data from column A to Z, what do I need to do in order to pick up the remaining 23 columns that contain data?<br />
</div>

]]></content:encoded>
			<category domain="http://www.excelbanter.com/forumdisplay.php?f=3">Setting up and Configuration of Excel</category>
			<dc:creator>robinscoe@gmail.com</dc:creator>
			<guid isPermaLink="true">http://www.excelbanter.com/showthread.php?t=448791</guid>
		</item>
		<item>
			<title>L2013 not running code from XL7, second posting</title>
			<link>http://www.excelbanter.com/showthread.php?t=448790&amp;goto=newpost</link>
			<pubDate>Mon, 20 May 2013 17:36:35 GMT</pubDate>
			<description>I have a worksheet with VBA code that has been in use for at least 12 years. 
It still works flawlessly in XL7 (2007). The code opens a folder which 
contains...</description>
			<content:encoded><![CDATA[<div>I have a worksheet with VBA code that has been in use for at least 12 years. <br />
It still works flawlessly in XL7 (2007). The code opens a folder which <br />
contains 24 photos (5M each) and places them in a worksheet along with their <br />
file name and date. The code even fails when I step thru the code, but seems <br />
to hesitate for some reason. The lines of code which appears to be causing <br />
the problem is as follows:<br />
<br />
For x = 10 To 430 Step 140<br />
                If Directory = &quot;&quot; Then Exit Sub<br />
                ActiveSheet.Shapes.AddPicture Directory &amp; f, _<br />
                True, False, x, y, 130, 100<br />
                Cells(r, c) = f<br />
                Cells(r, c + 1) = FileDateTime(Directory &amp; f)<br />
                f = Dir<br />
<br />
<br />
The line with &quot;Shapes.AddPicture &quot; seems to be the area of concern. XL13 <br />
appears to be handling pictures differently, but why?<br />
<br />
Any ideas about this line ??<br />
<br />
BTW, I have tried the code approximately 25 times. I had one attempt which <br />
completed properly, but it took nearly 45 seconds to complete versus 4-5 <br />
seconds for XL7. Very strange. <br />
<br />
</div>

]]></content:encoded>
			<category domain="http://www.excelbanter.com/forumdisplay.php?f=8">Excel  Discussion (Misc queries)</category>
			<dc:creator><![CDATA[John[_143_]]]></dc:creator>
			<guid isPermaLink="true">http://www.excelbanter.com/showthread.php?t=448790</guid>
		</item>
		<item>
			<title>Varying cell ranges in formulas according to number of cells with certain value</title>
			<link>http://www.excelbanter.com/showthread.php?t=448789&amp;goto=newpost</link>
			<pubDate>Mon, 20 May 2013 04:10:29 GMT</pubDate>
			<description><![CDATA[Hi all, I've been trying all morning to figure out a complex problem, and I was hoping the good people here would be able to help.

So I have a spreadsheet...]]></description>
			<content:encoded><![CDATA[<div>Hi all, I've been trying all morning to figure out a complex problem, and I was hoping the good people here would be able to help.<br />
<br />
So I have a spreadsheet with a list of companies, list of users within those companies, and the status of those users(Active/Inactive/Deleted). I'm trying to determine the company-level status based on how the overall status of all the users in the company.<br />
<br />
E.g. <br />
A                   B              C                D<br />
Company A      User 1       Active         <br />
Company A      User 2       Active<br />
Company A      User 3       Inactive<br />
Company A      User 4       Deleted <br />
Company B      User 1       Inactive<br />
Company B      User 2       Active<br />
Company B      User 3       Inactive<br />
 <br />
In the above example, cells D1 to D4 would list &quot;Active&quot;, since Active users form the bulk of the company. D4 to D6 would list &quot;Inactive&quot; for Company B.<br />
<br />
I've figured out the first half of what I need to do:<br />
=IF(COUNTIF(A1:A4,&quot;Active&quot;)&gt;COUNTA(A1:A4)/2),&quot;Active&quot;,IF(COUNTIF(A1:A4,&quot;Inactive&quot;)&gt;(COUNTA(A  1:A4)/2),&quot;Inactive&quot;,&quot;Deleted&quot;))<br />
<br />
My problem is in getting Excel to automatically define the cell ranges according to the cells that contain &quot;Company A&quot;, &quot;Company B&quot;, etc. I have over 5,000 rows on the spreadsheet so having to manually change the cell ranges for each company would take forever.<br />
<br />
I will be EXTREMELY grateful if anyone could help!!<br />
<br />
Also posted on <a href="http://www.excelforum.com/excel-general/924438-defining-cell-ranges-in-formulas-according-to-cells-with-a-certain-value.html?p=3245639#post3245639" target="_blank">http://www.excelforum.com/excel-gene...39#post3245639</a>, and <a href="http://www.mrexcel.com/forum/excel-questions/703704-defining-cell-ranges-according-cells-certain-value.html" target="_blank">http://www.mrexcel.com/forum/excel-q...ain-value.html</a></div>

]]></content:encoded>
			<category domain="http://www.excelbanter.com/forumdisplay.php?f=5">Excel Worksheet Functions</category>
			<dc:creator>Dranoeler</dc:creator>
			<guid isPermaLink="true">http://www.excelbanter.com/showthread.php?t=448789</guid>
		</item>
		<item>
			<title>VBA macro delete row - Help needed</title>
			<link>http://www.excelbanter.com/showthread.php?t=448788&amp;goto=newpost</link>
			<pubDate>Mon, 20 May 2013 03:38:43 GMT</pubDate>
			<description>Hello everyone,

I wonder if you please could help me with a macro; I just started to use VBA, so my knowledge is equal zero. 
I have a workbook with a few...</description>
			<content:encoded><![CDATA[<div>Hello everyone,<br />
<br />
I wonder if you please could help me with a macro; I just started to use VBA, so my knowledge is equal zero. <br />
I have a workbook with a few sheets. I am trying to write a macro that after clicking on a cell it deletes the entire row if the cell in column A does not contain any text; actually I wanted it to do not delete the row if the cell in column A contains the text “keepThisRow”, but I do not know how to do it. I was thinking to use a Form button. <br />
<br />
BellowI the code I have, but it does not work at all. thank you in advance for all help <br />
<br />
Sub deleteRow_Click()<br />
    Dim rng As Range<br />
     ActiveSheet.Unprotect Password:=&quot;123&quot;<br />
        On Error GoTo ErrHandler<br />
     <br />
     Set rng = Worksheets(ActiveSheet).Range(&quot;A2:A500&quot;).ActiveCel  l.Row.Select 'I want to select a cell in row I want to delete<br />
          If Not rng Is Nothing Then<br />
            rng.EntireRow.Delete xlUp<br />
     End If<br />
     Exit Sub<br />
ErrHandler:<br />
     <br />
     ActiveSheet.Protect Password:=&quot;123&quot;, DrawingObjects:=True, Contents:=True, Scenarios:=True _<br />
                                    , AllowFormattingCells:=True, AllowSorting:=True<br />
End Sub</div>

]]></content:encoded>
			<category domain="http://www.excelbanter.com/forumdisplay.php?f=10">Excel Programming</category>
			<dc:creator>gemiho</dc:creator>
			<guid isPermaLink="true">http://www.excelbanter.com/showthread.php?t=448788</guid>
		</item>
		<item>
			<title>Highlighting a whole row.</title>
			<link>http://www.excelbanter.com/showthread.php?t=448787&amp;goto=newpost</link>
			<pubDate>Sun, 19 May 2013 23:29:51 GMT</pubDate>
			<description>hello 
I am trying to highlight an entire row (e1-e5) if E5 if over £9999.99. i need the whole row to be highlighted in red is this possible?? im using Excel...</description>
			<content:encoded><![CDATA[<div>hello <br />
I am trying to highlight an entire row (e1-e5) if E5 if over £9999.99. i need the whole row to be highlighted in red is this possible?? im using Excel 2003 to attempt this.<br />
<br />
Any help is always appreciated.<br />
<br />
Kind regards<br />
<br />
CR</div>

]]></content:encoded>
			<category domain="http://www.excelbanter.com/forumdisplay.php?f=4">New Users to Excel</category>
			<dc:creator>lostgrave2001</dc:creator>
			<guid isPermaLink="true">http://www.excelbanter.com/showthread.php?t=448787</guid>
		</item>
		<item>
			<title><![CDATA["NxtRow = Cells(Rows.Count,"  giving me fits]]></title>
			<link>http://www.excelbanter.com/showthread.php?t=448786&amp;goto=newpost</link>
			<pubDate>Sun, 19 May 2013 13:45:40 GMT</pubDate>
			<description>I have used this very line of code successfully in other macros but here it errors out.

With cursor at the end of that line, Run DeBug - run to cursor gives...</description>
			<content:encoded><![CDATA[<div>I have used this very line of code successfully in other macros but here it errors out.<br />
<br />
With cursor at the end of that line, Run DeBug - run to cursor gives me a yellow highlight.  (NxtRow = Nothing)<br />
<br />
Thanks.<br />
Howard<br />
<br />
Option Explicit<br />
<br />
Sub Copy_All_Sheet_Sheet()<br />
Dim WS As Worksheet<br />
Dim NxtRow As Long<br />
Dim Nws As Long<br />
<br />
NxtRow = Cells(Rows.Count, &quot;A&quot;).End(xlUp)(2).Row<br />
<br />
For Nws = 2 To ThisWorkbook.Worksheets.Count<br />
     WS.UsedRange.Copy Sheets(&quot;Page 1&quot;).Range(&quot;A&quot; &amp; NxtRow)<br />
 Next Nws<br />
 <br />
 End Sub<br />
</div>

]]></content:encoded>
			<category domain="http://www.excelbanter.com/forumdisplay.php?f=10">Excel Programming</category>
			<dc:creator>Howard</dc:creator>
			<guid isPermaLink="true">http://www.excelbanter.com/showthread.php?t=448786</guid>
		</item>
	</channel>
</rss>
