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
=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")
Basically the situation I have is Sheet2 has many references to cells in Sheet1. Sheet2 is for all intents and purposes a kind of nicely formatted report form, and Sheet1 is the input form.
My ultimate goal is to automatically resize row heights on Sheet2 when cell contents change on Sheet2.
Using a worksheet_change event isn't working I presume because it doesn't see the formula output change as a worksheet change, the worksheet_change is firing only when the input is changed in Sheet1.
how can I capture these formula output changes on Sheet2 (triggered from input on Sheet1) OR is there a way of making a particular sheets rows always adjust in height to best fit?
I have a cell value. For example. A1= 1-2010. Is there a formula that will make A2,A3,A4 become 2-2010,3-2010,4-2010. If A1 changes to 2-2012, A2,A3, and A4 will be supposed to change to 3-2012,4-2012,5-2012.
AS per the attchement, I add a date in the cell H2 and when I select in the cell I2 the date in the column K changes as per the =IF formula..
My question is the following: Would it be possible, once I select the option in I2 to have the formulas in the column K changed for value? I put a example recording a macro!
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 ?
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.
I need to know that can we change some value is our formula, For example i was using some bunch of formulas in sheet and then i move that sheet to a new workbook,then i remembers formula as per last workbook. for example.
=VLOOKUP($A1,'[Smithdata.xls]01'!B6:E20,3,0) i need to change file name in all my formula into B/M shape.
=VLOOKUP($A1,'[Smithnew.xls]01'!B6:E20,3,0)
is it possible through some easy way? e.g as we use find and replace for value then what can we do same thing for formula or something else.
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.
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.
I am trying to understand VBA codes. Actually I wrote a formula with IF and I want to change it to VBA because it is so long and creates some problems. It is too important for me =IF(AND(0<C6;C6<9);"0";((IF(AND(8<C6;C6<14);(C6-8)*(8,4);((IF(AND(13<C6;C6<10000);(5*8,4+(C6-13)*(26,45));" ")))))))
The logic is like that, this program will calculate an amount. btwn 0 and 8 days, it is free btwn 9 and 13 days, 8.4 euros per day after 13 to infinity, 26.45 euros per day
Therefore for example for 10 days, you have to pay 2*8.4 = 16.8 euros for 14 days, 5*8.4 + 2*26.45 = 92.9 euros
I have the below code that works fine. However I want to use a countif function to update Column I instead of manually having to type in the numbers each time they change. I know it would probably be a Worksheet_Calculate Sub but cannot seem to find one that works. The time stamp would be put into column H and the first row of data is row 3.
VB:
Private Sub Worksheet_Change(ByVal Target As Range) With Target If .Count > 1 Then Exit Sub If Not Intersect(Range("I3:I12"), .Cells) Is Nothing Then Application.EnableEvents = False
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.
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….