Creating a conditional formula to increment #s in a test script


I have an Excel question.  I am creating a test script template for our team 
and I an in need of some formula help.  Here is what I wish to do:

Let's say I have a column A in my test script.  I wish to label this column 
with my test script #
TC3...(and so on)

However, the problem is I have section breaks in my test script that divides 
the document into sections: eg.. 


Now the problem is that if I want to add a new test case to the "Login 
section" above, I need to manually increase all the TC#s by one.  This is a 
VERY tedious task if we have over 100 test cases in different sections.

What's I'd like ideally is a formula that will do this
="TC-"&<In column A:A, look at cell above where I am and if NOT an empty 
cell, then add 1> 

Is this possible somehow?  This way my team can add testcases dynamically 
and we won't have to keep manually incrementing/updating the script TC#s 
every time we add new testcases.


Derek Megyesi
Senior QA Engineer
3/16/2010 8:27:01 PM
excel.misc 78881 articles. 5 followers. Follow

0 Replies

Similar Articles

[PageSpeed] 44


Similar Artilces:

create a roster
How can you create a weekly roster in which functions can be assigned to more than 10 people. The roster should be updatable, so that when holidays and days off are marked on the weekly roster they will be taken account of it future rosters. ...

this is a test subject line
a test I say ...

how to define scroll bar's page size value?
Hi all, I have a confusion about calculating scroll bar's page size. In my application, I am drawing an image according to scroll bar position. m_iGeneratedImgWidth - Width size of the image (this value is always bigger) rect.right - Width of the drawing area. how to define scroll bar's page size value? SCROLLINFO info; info.cbSize = sizeof(SCROLLINFO); info.fMask = SIF_RANGE|SIF_PAGE|SIF_POS; info.nPos = 0; info.nMin = 0; info.nMax = m_iGeneratedImgWidth - rect.right; info.nPage = ? In my OnHScrollBar() function, for SB_PAGELEFT / SB_PAG...

Is there a formula to show $5,000,000 as $5M?
I am looking for an easy way to convert $M values to eliminate the 6 zeros. Thanks. You could try something like this: =IF(RIGHT(A1,6)="000000",A1/1000000&"M",A1) unless someone has a better idea.... Sheila "ExcelHelp" wrote: > I am looking for an easy way to convert $M values to eliminate the 6 zeros. > > Thanks. Another option: =TEXT(A1,"$ #,, ""M""") Another option would be to keep the value in the cell, and use a similar Custom format. -- Dana DeLouis Win XP & Office 2003 "ExcelHelp" <...

importing or creating reference footnotes
I am trying to import a word document into publisher and it has reference footnotes within the document. The reference footnotes are not coming into the publisher document with the reference footnotes. Correct, they will not up to Publisher 2003. In Publisher 2003 depending on which version of Word you are using if they will or not. -- "If you don't know where you are going, any road will take you there!" ...

Check to see if a formula is correct
I want to do something like this Sub Macro1() If Range("A1") =(=B1 + B2) Then ' This is a formula Exit Sub Else Range("C1").Select 'Has correct formula Selection.Copy Range("A1").Select Selection.PasteSpecial Paste:=xlFormulas End If End Sub How do I do this? Hi Try Sub Macro1() If Range("A1").HasFormula Then Exit Sub Else Range("C1").Copy Range("A1").PasteSpecial Paste:=xlFormulas Application.CutCopyMode = False ...

Task Create - Status
I'm trying to make a simple task, when a user owner is assigned a task in CRM, it receives an email letting it know it has one. I have the following below, but it is not generating one when i assign one manually in the CRM. What to do? I've tried both the following: When task is created E-Mail to:[owner];Subject test As well as: When task is created if Task activity status = Open then E-Mail to:[owner];Subject test I've checked the mailserver many times over, and I can send emails manually from the CRM so you can rule that out Tested out ok on our end. Some ideas:...

Incorrect formula
Would appreciate help with my formula. I only want the 1 to be added to L28 and L29 if they have a value greater than 0. this formula produces 2 even if all the cells have nothing in them, but I need there to be nothing in the cell if no values are in any cells. If the value of every cell in the formula was 1 then my answer should be 14 but if cell L28 is 0 then the answer should be 12, and if neither L28 or L29 has a value then the answer should be 10, but because of the =1 in my formula I get an answer that is 12.(or 2 greater than I want if values are in other cells) Help appre...

Inserting rows with Data, Formula's and Validation
Hi all, I posted this twice earlier today, but it hasn't appeared so if it triple post please forgive! I have a spreadsheet that starting at row 18 contains the following information A18=M$2 B18= Datavalidation indirect ($M$2) C18=IF(B18="No More Options",VLOOKUP($B18,INDIRECT(CONCATENATE($M$2,"_info")),1,FALSE),IF(B19<2,VLOOKUP($B18,INDIRECT(CONCATENATE($M$2,"_info")),1,FALSE),CONCATENATE(B19," x ",VLOOKUP($B18,INDIRECT(CONCATENATE($M$2,"_info")),1,FALSE)))) E18=IF(ISERROR(VLOOKUP($B18,INDIRECT(CONCATENATE($M$2,"_info"))...

Mailbox not created when AD account created
A couple of days ago I noticed that I created a user account but the 'Email Addresses' tab of the user properies did not list any email addresses. Subsequent new user accounts have all experienced the same. I researched the knowledge and tried the recommended solutions to either manaully start the recipient update service or rebuild te recipient update service. Neither recommendation has resulted in a mailbox being created for this particular user or any additional user that I have created since this error first showed up. I performed a Windows update last Thursday and so I bel...

Help Creating XmlNode / XmlAttribute Elegantly
I am creating a configuration class to read / write a standard configuration file. <?xml version="1.0" encoding="utf-8"?> <configuration> <appSettings> <add key="ConnectionString" value="server=(local);" /> </appSettings> </configuration> I am using a XmlDocument for my base implementation. I am looking to see if there is a better way to add a new node / attribute than using XmlDocument.InnerXml. I would consider this to be a hack but couldn't really see another way of doing this without definin...

Create external database
Hi all. I need to create an external database (file). On a site I found this code: ------------------------------------------------------ Function CreateLinkedExternalTable(strTargetDB As String, strProviderString As String, strSourceTbl As String, strLinkTblName As String) As String 'strTargetDB = Source Database Name 'strProviderString = Not used, currently hard coded 'strSourceTbl = Source Table name in the database we are linking too. 'strLinkTblName = Table name we would like to see in the Access Database. Dim catDB As ADOX.Catalog Dim tblLink As...

I have a chart to show values for the current month. In order to show nothing in the chart for the rest of the month, the formula shows "n/a". This makes the lines within the chart run up to the current day, but the graph to show blank for the rest of the month. This is our intent. However, I want the "n/a" in the standard worksheet to be invisible to the user through formatting. However, I cannot get conditional formatting to work. Can anyone help? Thanks! Mike Use a formula like =ISNA(A1) and set the font color to white in conditional formatting ...

Formula Bar Problem
Version: 2008 Operating System: Mac OS X 10.5 (Leopard) Processor: Intel Hi- <br><br>I have been having trouble with my formula bar. I have gone to &quot;view&quot; and selected the &quot;formatting pallet&quot; and &quot;formula bar&quot; options, but still it does not appear. What else do I need to do to make it show up? ...

How to create pie chart with %
I have got a problem that I don't if excel could help me to calculate the % within a column and draw a pie chart. My case is I have a column containing a series of numbers. e.g. 1,4,8,1,3,9,11,2,4,5,6,.........etc I want to draw a pie chart that showing 1-3 , 4-6, 7-9, >9 with the corresponding % inside that column. Can anyone tell me how can I make it ? Ray - You need to calculate the frequencies in your data. Let's assume your data is in A1:A12. In B1:B3 enter these numbers, the upper limits on the groupings: 3 6 9 You can enter ">9" into B4 witho...

Email address not created when a new user is created
All, This issue recently happened in my company. Upon creating a new user, the policy was set to create the smtp and X400 address automaticaly. Now when we create a user the smtp and x400 addresses are not created, and when attempting to setup the new user in outlook, the address cant be found. We are using exchange 2003 SP1 on Win2k3 servers. On Wed, 13 Jul 2005 06:49:07 -0700, "Bryan" <> wrote: >All, >This issue recently happened in my company. Upon creating a new user, the >policy was set to create the smtp and X400 addres...

Conditional data validation drop downs
Good afternoon, I want to set up drop down's that bring up criteria to be selected based on a previous data drop down selection, i.e. let's say column A has drop downs consisting of various areas within a building, i.e. Ceiling Void, Roof, Ceiling, Floor etc. Based on what is selected in A1 the drop down criteria in B1 should relate only to what could apply to the selection in A1. I.e. If Ceiling Void is selected in A1 then the user should only be allowed to select, for example, from Fire Break, Pipe Lagging, Fire Break, Feature Panels etc in B1. If however 'Roof&#...

Exchange 2010 MRM, no log files being created
I'm hoping someone can help me with this has been driving me crazy for days. I have enabled MRM logging on our exchange server, and I can see that some of the policies are working when I run start-managedfolderassistant. We have a retention policy tag on the deleteditems folder, and this does work. The problem is I am not getting any files in the MRM log directory. C:\Program Files\Microsoft\Exchange Server\V14\Logging\Managed Folder Assistant Events 9021 and 9022 are logged in the Application log, but where are the files? Below is the output of my mai...

when form created
I have a form which was created by someone else (not a form template) which is like a questionnaire with empty boxes to be completed. When the boxes are typed in all the margins move to accommodate the words being typed. Is there a way to fix/lock the original form and then just fill in the blank boxes? I suspect this is set up as a table with auto resizing enabled. Displaying table gridlines (Table | Show Gridlines) will help you see what you're dealing with. Then select the table, go to the Table tab of Table Properties, click Options, and clear the check box for "A...

Creating a Brochure
How do you create a 3-column brochure from scratch for Publisher 2002? I can only find the directions for the 2003 version. Quick help would be appreciated, project is due Monday. Create a three-panel or four-panel folded publication Scroll down to the section that says "Build a three-panel or four-panel publications from scratch." -- Mary Sauer MSFT MVP news:// "Derek" <> wrote in message news...

Excel's Calculating Sequence
If I have a block of formulae , say, in A1:E10 and hit F9 is thare any particular sequence that the recalc is done ? e.g. by rows first and then columns etc. TIA Bill From the Help file: When are existing formulas recalculated? Excel recalculates those cells that are dependent on other cells that contain changed values. This type of calculation helps to avoid unnecessary calculations. Excel also calculates workbooks each time they are opened. Background calculation As calculation proceeds, you can choose commands or perform actions such as entering numbers or formulas. Excel tempor...

How to create Access macro shortcut
I'm still using Access 97 and saw something the other day that I would like to use that was in Access 2000. In an Access 2000 database, there was a .mam file in a directory that launched the Access 2000 program and ran a macro. How do you set this up? Can it be done in Access 97? If so, how? Hi. > How do you set this up? Select the macro in the Database Window and right click with your mouse, then select "Create Shortcut..." in the pop-up menu. Follow the prompts for where to place the shortcut and what to name it. The default is: <PathToDeskTopDir>\Shortcut ...

Users mailboxes not created when user created
I have a problem that recently just started happening on my exchange 2003 server. When i create a new user account and create the mailbox for exchange, once im done, the mailbox isnt created, adn if you go into the properties of the user account adn go to the exchange email address tab, there isnt an smtp or an x.400 address listed. I am having to manually create and add these, adn then go delete the exchange mailbox and recreate it. This is really annoying and would love to know if anyone has any ideas of how to fix it. Thanks Jason In news:9F836A43-98BF-435A-AA43-AFF10124BE3F@micro...

Manual payroll check does not appear in GL's
Hi... We processed a manual payroll check for one of our companies and we have an issue with it not appearing in GL's That check appears does appear in Payroll and checkbook. I am not sure what could have caused this to happen but is there a way we can fix this issue? Any help on this one will be much appreciated. Thank you, Hetal. ...

How do you remove "other user's" from calendar
When in calendar, click file then open, the "other user's folder" is displayed with a list of users that I have previously accessed. Some of them are no longer wanted on the list (retired and no longer even on company server), how can they be removed? bulhead <> wrote: > When in calendar, click file then open, the "other user's folder" is > displayed with a list of users that I have previously accessed. Some > of them are no longer wanted on the list (retired and no longer even > on company server), how can t...