Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Excel


Advertisements:










Formula To Change The Tag On The Other End


I am making several thousand wire tags for a water treatment plant which need to be installed at each end of the cable runs. What I have made so far is tags for one end of the run not the other. I am looking to create a formula to change the tag on the other end so that instead of it saying
1234
to 5678
it would now say
5678
to1234


View Complete Thread with Replies

Sponsored Links:

Related Forum Messages:
Change A Tag With Replace
How to replace a tag with a new one; for example, replacing "something with something

I mean how to replace the surrounding tags without touching the in-between text.

View Replies!   View Related
Dynamically Change The End Value Of A Range In A Function
I am using the STDEV function on a range of values: STDEV($I$26:I2545). My starting cell is constant and I would like to make my ending cell variable based on a value I enter in a master cell (A1). The value I enter in the master cell is multiplied by 252 the product would equal the row number I would like to stop at. So if I enter 1 the formula will be STDEV($I$26:I252). I tried: STDEV($I$26"I"&(A1*252))) and other such variations to no avail

View Replies!   View Related
Auto Numbering A Tag Name
I would like to know if there is a way to Auto number a text.
I have a column with text tags (lets say Column B). These cells look at a specific cell (ex. A1) and see what text is written in it then copy the text into their own cells B1, B2, B3 and so on. So if cell A1 reports AAA then Column B cells become AAA all the way down.
Now what I like to do is for column B cells look at A1, copy the text and add _01 infront of their copied text. so for Column B, B1 reports AAA_01, B2 is AAA_02, B3 is AAA_03 and so on


View Replies!   View Related
Create Tag In VBA?
I found this really cool code that creates a tag cloud in Excel using VBA. It's far too complex for my understanding but I was hoping I could get some of the experts opinions on here about modification possibilities. I have attached the macro-enabled 2007 workbook. What I am trying to do is search through a list of keywords and determine each keyword's density within a list. The list for example could look like this:

slow windows xp
windows xp running slow
windows xp computer
[slow windows xp]
[windows xp running slow]
[windows xp computer]
[computer running slow windows xp]
"computer running slow windows xp"
"slow windows xp"
"windows xp running slow"
"windows xp computer"

You'll notice the characters " [ ] of which I would like to ignore when the cloud builds. The cloud would list the most dense keywords first, and gradually decrease to the least dense keywords. The macro code is inside the workbook but I'll list it here to:

View Replies!   View Related
Sort The Data :: By TAG And PA Claim
I have a monumental amount of data that needs to be sorted. The data is sorted by TAG number and then by the claim type EG: PA or TA and so on. There are 8 possible claim types and Each TAG may have only 1 EG: PA or it may have PA, TA, BC and so on.

The thing i need to do is sort the data firstly by TAG and PA claim, then instead of having the tag number again below the PA claim type, and having the same TAG number again and next column being a TA type claim, i want to have all CLAIM TYPES IN ONE ROW......

View Replies!   View Related
Weekday Formula: When I Change The Month, It Automatically Will Change My Formula
=CHOOSE(WEEKDAY("1 Jan " &$C$1),"Sun","Mon","Tue","Wed","Thu","Fri","Sat")

where C1 = the year 2006. B1 has the month Jan and I want to input that into my formula, so when I change the month, it automatically will change my formula. I tried =CHOOSE(WEEKDAY("1 $B$1 " &$C$1),"Sun","Mon","Tue","Wed","Thu","Fri","Sat")

B1 = Jan
C1 = 2006

View Replies!   View Related
Set Control Visibility Based On Tag Property
I have a userform which uses the tag property of the frame to determine whether a frame is visible (and hence the controls that reside within the frame). A frame contains three combo boxes, and six text boxes. The tag property of the frame matches the number of frames that are visible on the form, so that if the user selects five frames, frames 1 through five become visible and for all other frames visible = false. A frame contains all the data for a single entry. There can be up to fifty frames/ entries that are visible on the form depending on the user selection.

I want to use the visibility property to do two things: first the combo boxes are filled from an array after the user selects the number of frames (or entries). I only want to fill the comboboxes where the frame is visible. The second thing is that I have a function which uses the data from the text boxes and combo boxes as required arguments. Since these are required arguments, I will get a data mismatch error if I try to call it and the controls are empty. Therefore, I only want to call the function if the frame which houses the controls is visible.

Public Sub Visible1(Entry As String)
Dim ctrl As Control
For Each ctrl In UserForm2.Controls
If TypeName(ctrl) = "Frame" And ctrl.Tag <= Entry Then
With ctrl
.Visible = True
End With
Else
If TypeName(ctrl) = "Frame" And ctrl.Tag > Entry Then
With ctrl
.Visible = False.............

View Replies!   View Related
Read & Write Mp3 File Tag Properties
The problem with the Write macro was that, although it did work, it used SendKeys which has to be slowed down considerably.

Here is a new version of the Write macro that works as normal. I originally tried to use CDDBControl.dll version 1.2.0.51 which is widely available on the internet but found that I could only get it to change 1 file before crashing Excel.

I have put the READ macro in the next message.

Dim ws As Worksheet
Dim FromRow As Long
Dim LastRow As Long
Dim FilesToChange As Integer ' number of files to change
Dim FilesChanged As Integer ' number of files changed
Dim MyFilePathName As String ' full path & file name
Dim MyFileType As String ' mp3 wma etc.
'-
Dim id3 As Object
Dim MyArtist As String
Dim MyAlbum As String
Dim MyGenre As String
Dim MyTrack As String
Dim MyTitle As String

Sub WRITE_TO_EXPLORER()
Application.Calculation = xlCalculationManual
Set ws = ActiveSheet
Set id3 = CreateObject("CDDBControlRoxio.CddbID3Tag")
LastRow = ws.Range("A65536").End(xlUp).Row ' count worksheet rows
FilesToChange = ws.Range("A2:A" & LastRow).SpecialCells(xlCellTypeVisible).Count
If FilesToChange = 0 Then MsgBox ("No files to change."): Exit Sub
FilesChanged = 0........................

View Replies!   View Related
Xml Integration: Use XPath To Point To A Tag In Which To Insert Text Using VBA
I'd like to send data from an excel sheet to an XML file that already exists. Is there a simple way to use XPath to point to a tag (in which I would want to insert text) using VBA?

View Replies!   View Related
End Of Month Formula
I am calculating items that refer time service to days...The formula i am using now is
IF (ISBLANK (T2), TODAY (), T2) -IF (ISBLANK (I2), MAX(H2,S2), S2)

However i'm wondering what i can replace TODAY with to obtain a static date such as 12/31/08.

This formula/data is part of a macro that will be run by novice users each month end. So each month I want the measurable date to change. for example on Feb 1 I want the Macro to give me a date of 1/31/08, the following month 2/28/09.

Is there a way to correct the formula? or use a reference table?


View Replies!   View Related
End Formula By Date
Is there a way to end a formula by using a date? I have a workbook that contains a page for every month I would like for the formulas for march to work until April 1st and then just keep the number value that is there. I don't know if this makes any sense or not but let me know if you need any more details.

View Replies!   View Related
Formula For Calculating End Date
I was trying to figure out how you could caluculate a project end date, based on a start date (dd,mmm,yyyy) and a project duration of lets say 5 work day and the work week is five days long (monday to friday). If i have a leave on the week days like tuesday is bank holiday then it should give be the date excluding that tuesday and wednesday leave and caluculate 5 working days and shoule give the project end date.

Example date: 5-Oct-09

Project end date:09-Oct-09

If i have bank leave on 06-Oct-09 means.

My project end date:12-Oct-09

Note:Bank holidays are fixed date example(every year bank holiday 06-oct-09,02-Dec-09,25-Dec-09)

Please dont need a macro.

View Replies!   View Related
Dragging The Formula To The End Of The Report
Here's my Formula:

Range("H2:S2").Select
Selection.AutoFill Destination:=Range("H2:S2702"), Type:=xlFillDefault
Range("H2:S2702").Select

This is dragging the formula to the end of the report. My dilemma is that this was captured with the macro recorder. Is there a way to change "S2702" with whatever row Column S ends with? Meaning this formula will be used on different sized reports so the numbers will vary. I just need a direct statement to compensate however large the report is.

View Replies!   View Related
Month End Date Formula
Is there a formula in excel that will automatically populate a field with the prior months end date? For example - If my spreadsheet is opened on March 25, I would like the date in cell A1 to read 2/28/07.

View Replies!   View Related
Putting Text At The End Of Formula Results
I'm trying to enter relatively simple drug calculation formulas in Excel where the result is appended with the proper units to administer. For example, if I'm calculating for units of regular insulin with a formula such as:

=0.75*f2

I'd like the cell to make the above calculation, and append it with "Units Reg Insulin" or something similar. Thus far, I've just been putting the units as text in adjacent cells but the result looks a bit messy.

Is this possible? I'm using Excel 2007 and the Help index does not seem to offer much guidance about this.

View Replies!   View Related
Worksheet Formula To Find End Of Column
I have a simple list of data on a worksheet. It is appended occasionally by the program user. The new data is always added to the bottom of the list so the list grows increasingly longer day after day.

There are a couple of formulas at the top of the worksheet that calculate statistics from the list. I'd like to make the formulas apply only to the last 25 rows of data. Basically, I need a way to make the ranges in the formulas automatically adjust themselves each time the list grows so they always use the last 25 rows of data.

I can do it using VB but I'd rather just build this into the formula on the worksheet if possible.

View Replies!   View Related
Add Cell Number To End Of Corresponding Formula
I have a monthly report on an excel spreadsheet that I must sum two columns from the previous month for every row in the sheet. I wish to take the value from column B and add to the end of the formula in column A. For instance my column A would contain the following: "=1200+6595+2599+275"

Column B would be a single number, i.e. "3200"

I want to be able to click a button and get "=1200+6595+2599+275+3200" in column A and place a "0" in column B for every row on the sheet. I have a pretty good understanding of VBA, but I am still learning the Excel object model.

View Replies!   View Related
Dragging Formulas; Values Of The Formula To Change And The Other Not To Change
I want to drag a formula however i want one of the values of the formula to change and the other not to change. for example:

c1=a1+b1
c2=a1+b2
c3= a1+b3
: : :

how can i make it do this when i drag? a1 is not just a constant and it depends on other parameters.

View Replies!   View Related
Formula To Calculate Date End Of Prev Month
I have a worksheet where the current months date is entered in cell E1 (format dd/mm/yyyy) , using an input box.

I need a formula the will calculate the previous months month end date in cell A6 and the month end prior to the date calculated in A6 in cell A13.

where the dates start with 31 for eg 31/01/2008 , then my formula works, but if it starts with 30, 29 or 28, then obviously it does not work.

I would like a formula that will calculate these previous month end dates correctly.

See example below ....

View Replies!   View Related
Add Formula Dynamically Up To The End Of Data Entered
Below is the code. It seems to be creating 50 thousand rows below the data already entered in the worksheet "DELPHI DATA". What I need to do is change it to only add those formulae or pasted values to as many rows as already have data entered in them (which may eventually approach 50000, but may remain at only a few thousand.)

Sub Refresh_Current_Month() ...

View Replies!   View Related
Use Cells For Start & End Formula Reference
I'm using this formula (in Cells D4:D10) to tabulate hours being spent on various testing activity categories (N,O,R,E,U,A,D). Is there a method I can use to permit me to change the range of cells being tabulated using Named Ranges or some sort of substitution?

= SUMIF($C$15:$C$89,C4,OFFSET($C$15:$C$89,0,4))

for example I would like to use the value I present in cell A2 as the starting point (for the range) & B2 as the end point (for the range) of cells being evaluated. In other words the improved formula would look like this.

=SUMIF(A2:B2,C4,OFFSET(A2:B2,0,4)) -or something like that-

See attached for reference!

View Replies!   View Related
End Of Month, End Of Year Clear Cell
I have a worksheet that keeps a year to date and month to date total of overages or underages (end of day cash reconciliation). I need to have a formula that clears the month or year to date total cell at the appropriate time and I want to do this independant of the year as I generate a new sheet every day and enter yesterday's numbers.

I think I have the year figured out by picking the month and day and comparing but the only thing I have come up with for the month is comparing to a list of 13 dates (leap year).

View Replies!   View Related
Find/Locate End Of Range & Add Formula Result
Dim myDynRange As Range
Dim myLastRow As Integer
Range("H:H").Select
myLastRow = Range("H:H"). CurrentRegion.Rows.Count
myFirstCell = Cells(Counter, 8).Address
myLastCell = Cells(myLastRow, 8).Address
myDynRange = myFirstCell & myLastCell

im having a problem with the last line
myDynRange = myFirstCell & myLastCell

my eventual aim is to do an average on this column with a line like

ActiveCell.Offset(Counter, 1).Value = Application.WorksheetFunction.average(myDynRange)

the reason why my range declaration is so strage is because i was trying to change the dimensions of the range with an offset function because i had many ranges to average but the offset function didnt want to work. this way goes like this....................

View Replies!   View Related
Ending Macros (End With And/or End Sub Is Expected)
I have a macro that continues to tell me that an End With and/or End Sub is expected. I continue to add these statements in various ways, but the macro will not complete properly.

Here is the

View Replies!   View Related
Code To End A Main Sub Before End Sub Point
I’m using this code to run consecutive programs, which works really well, apart from one little glitch.

View Replies!   View Related
Sumif; Find The Amount Spent Based A A "tag"
I have a spreadsheet(see attached) that I am needing to find the amount spent based a a "tag" I have created. If you bring up the spreadsheet and look at the dashboard sheet, I am wanting to find the total tag amount based off what is listed in the paychesk sheet. For tests I have used this formula and have put it in B6 on the dashboard sheet.

=SUMIF('PayCheck - DEC-09-B'!$F$2:$F$1000,A20,'PayCheck - DEC-09-B'!F$2:$G$1000)

But the "bank amount" field on the paycheck sheet is a negative number the value of course coming back is not right. How do I fix this?

View Replies!   View Related
Change Cell Value And Not Change Formula
I want to edit a cell's value without changing the formula the cell contains.

View Replies!   View Related
Date Range Formula: Beginning Of Month To End Of Month (which Is In The Current Row)
I have log data in two columns:
Column A: Date/time (at 30 minute intervals)
Column B: Numeric data

On the last row of each month, I’m trying to perform a SumProduct on the two columns and display that result in column C.

The end of the range is determined by the month in the current row.

I’m having difficulty finding the beginning of the range, though. I need to account for both the normal dynamic calendar days & the fact that I may get data starting mid-day and mid-month.

I have this formula, but I’m not sure how to make the first array dynamic or if this is even correct approach.

Manual
=IF(OR(MONTH(A1009)=A4)*(A$4:A$65536

View Replies!   View Related
Change Case Without A Formula
is there a way to change the case of a cell/column without having to use a formula, i.e. just like you would in Word?

The formula seems to be a huge pain and I have to do lots of quick case changes in a large document.

View Replies!   View Related
Formula: Change The Variable
I am trying to write a formula in code that uses a changing variable, "X".

here is what i have thus far:

.Value = (("G" & X) + 1) - (("G" & X) + ("B" & X))

I am trying to say: ((GX)+1)-((GX+BX))

X is a variable that changes in a loop. it will be the row number. so for example:

(G18+1)-(G18+B18)....I AM APPEARNTLY NOT WRITING THE SYNTAX CORRECTLY.

View Replies!   View Related
Change Cell Value By Formula
it sounds simple but, all i need to do is change a cell value dependant on another cell value

i need say A1 with the formula

i need C1 to be say "Yes"

i need a formula to show "It Works" in D1 if C1 says "Yes"

But the formula for this needs to be in A1


View Replies!   View Related
Change Formula To Static Value In VB
I have the following code that places a formula into the cell.

View Replies!   View Related
Capturing The First Change In A Formula
I have a spreadsheet that monitors the opening time of some stocks. In the
morning before trading starts it looks like this:

StockTIME
QQQQ-O2/15/06
AAPL-O2/15/06
GOOG-O2/15/06
CSCO-O2/15/06
SPY-A2/15/06

When trading starts, the TIME value records the time of the last trade, thus
the first time will represent the time of the first trade - I am trying to
capture this time value. The problem is that if another trade occurs, the
TIME value updates to the time of that last trade. The TIME value is fed by a
DDE link from a data source.

Is there a way to capture the "first" change in the TIME value ?

View Replies!   View Related
Date Change Formula
I want to change the date on my spreadsheet which runs from May 07 to Apr 08 by just inserting one cell, how do I complete this action. The months are in seperate cells.

May-07Jun-07Jul-07Aug-07Sep-07Oct-07Nov-07Dec-07Jan-08Feb-08Mar-08Apr-08

View Replies!   View Related
Formula To Change A1 To = Sheet Name
I need a formula that will update A1 to what ever the sheet name is. Is that possible? It sounds so simple but I can't seem to find anything so far.

View Replies!   View Related
A Way To Get The Cell References In A Formula Change
Is there a way of getting the cell references in a formula change following a change in the content of a cell in the worksheet?

View Replies!   View Related
Change In Formula With ComboBox Selection
In this file, I have a Work Summary worksheet in which I'm extracting some data from the other worksheets to "summarize" all jobs into one nice work summary log On Basis of Average of data from 3 other different sheets A,B,C

The following form works great to if onyl formula calling is applied

=AVERAGE(INDIRECT("'"&$C6&"'!c3:c7"))

C6 = Worksheet name or Worksheet tab name ....

View Replies!   View Related
In A Formula, How To Change The Format Of The Resulting Te
how to change a proportion of text in a resulting concatenation
formula.

cell A1 contains the text in bold "ABCDEF", cell A2 containes "GHIJKLM" cell
A3 contains =A1 & " " & A2 but I want the cell A1 part to remain in bold. Is
there a way of using the TEXT function e.g. =TEXT(A1,BOLD) & " " & A2?

View Replies!   View Related
Formula To Change Font Color
I am trying to figure out what the formula would be to change the font color if the entered number is less than the quota.

I'm making a spreadsheet for work that each of the reps will punch in their daily numbers, and, for example, if there quota was 70 and they are <70 than the font will turn red, and if greater or equal to 70 it will turn green.


View Replies!   View Related
Formula To Show A Change In A Row
I'm working through a huge file and trying to compact it down and make it more workable. I've already managed to get it down to what i need but i now need to add a few things so others can work it more easily also.

One of the ideas i had was the following, but for the life of me i dont know where to start.

The spreadsheet will be updated on a daily basis and at the end of each week we will need to submit any changes we've made to the marketing team.
However the change tracker thats built into excel isn't really what i want.

What i though was i should set up an IF formula that would return a True value if any data in that row was changed.
Then i could set up a macro to copy those rows only to a new sheet to be sent to the marketing team, this way the structure of the spreadsheet would be kept to make it easier for them.

View Replies!   View Related
Change Formula Without Changing The Reference
I have a set of formula in column C to H. I have set a formula as sheet1+sheet2+ like this for about 24 sheets with different reference of cells. I want to change in the entire range of cells C to H as =sum(sheet1:sheet24!b04). The reference what I have mentioned changes in different cells.

View Replies!   View Related
Way To Change A Cell Reference Within A Formula
Is there a way to change a cell reference within a formula. ie: If the formula is =A1 (in reference to cell A1) and I wanted a new cell to have the reference =A10. Can I make a formula which was A1+9, and therefore lookup A10.

View Replies!   View Related
Formula To Change A Negative No To A Positive
This may be more of a math question rather than an Excel one.

If I have a spreadsheet with a cell that produces different negative number each time it is used, is there a way i can add a formula to make it a positive number.

So if Cell A1 showed -£244.22, I want to add an equation that changes if to £244.22

Cell A1 changes so it would need to do the same for any negative number within that cell.

View Replies!   View Related
Revolving Time Change Formula
I have a worksheet that needs revolving times based on the time now, if the time in the cell before the time now it moves up keeping in order, if it is after the time now it moves to the bottom of the list and starts again and this is based on a 24 hour period.

I don't know if this would work as a ranking formula or vba, either solution would be ok, but this on has me stumped.

View Replies!   View Related
Using Wildcards Within Formula (add Together Will Change)
=SUMPRODUCT(--('Trial Balance'!A1:A100="6120"),--(ISNUMBER(MATCH('Trial Balance'!B1:B100,{"00.00.01","00.01.01"},0))),'Trial Balance'!G1:G100)

Is there a way to use this formula, but instead of looking in Column B, and having to list 00.00.01, 00.01.01, that it only looks at the last two digits of the ##.##.##.

Here is the issue. Each month, the numbers that make up what I need to add together will change. However, all I am really doing, is combining any accounts that have the same sub account (Column B) ending in the same digits of either 00, 01, 02, or 08. So I could have 01.01.01, 01.00.01, 01.02.01, etc. and I am just focusing on the .01 on the end. I would like to say, look at all the sub accounts in B, and only add (G:G) on those that the last two digits equal .01.

View Replies!   View Related
Formula Change To Allow A List To Be Copied.
I have a formula that basically copies a cell into another workbook if 'other' is entered into the column to the right. i,e cell A1 has 'other' B1 has '100', the figure in B1 is placed into another workbook cell. The results are only shown if a month is selected from a drop down on the 1st workbook with the meta data.

What I want to do is to add a command to the formula below so that it will recognise that after the first item is entered it will look for the next data item and not just repeat the first….

{=IF($L$92:$L$580="","",INDEX($L$92:$L$580,MATCH(1,(TEXT($C$92:$C$580,"mmmm yyyy")=TEXT($E$5,"mmmm yyyy"))*($L$92:$L$580<>""),0)))}

In the attached worksheet is an example of what I want (table 2) and what I'm currently getting (table1)…

View Replies!   View Related
How To Change The Formula Text Color
How To Change The Formula Text Color

=B5*B6

Make It
Red Bold

=B5*B6

View Replies!   View Related
Change Formula So It Doesnt Retun #value!
i have this formula in cell L30. change formula so it doesnt retun #value!

View Replies!   View Related
Change Formula Based On Cell Value In A1
= SUMIF(SHIPPED!$A$3:$A$13,A2,SHIPPED!$B$3:$B$13)

I would like for the formula to change to what is in A1.. If I change A1 to C, I would like for the formula to replace A with a C in the formula.

SUMIF(SHIPPED!$A$3:$A$13,A2,SHIPPED!$C$3:$C$13)

View Replies!   View Related
Change Color Of Formula Results
Is there anyway to change the font of cells containing formulas to always be a certain color in your spreadsheets?

View Replies!   View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved