How To Get Two Formulas In One Cell

Jan 21, 2014

I am trying to get two formulas to work in one cell?



=If(CEILING(E2,0.05) = CEILING(E2, 0.1), CEILING(E2, 0.05)-0.01, CEILING(E2, 0.05))

View 9 Replies


Using Cell References In File Paths For Formulas To Create Dynamic Formulas

Dec 3, 2013

I am using a lot of linked reports that have to be rewritten each month. For example smaller formulas look like this:

=('S:PUBLICProductionJob CardsMOLDING201311 November[440A SIDE SPOILER JOB CARD.xls]Production Parts'!B$228*2)+'S:PUBLICProductionJob CardsMOLDING201311 November[440A SIDE SPOILER JOB CARD.xls]Production Parts'!B$262+'S:PUBLICProductionJob CardsMOLDING201311 November[440A SIDE SPOILER JOB CARD.xls]Production Parts'!B$292

What I want to do is extract the file path from the above formula and make it a composite of several cell references.

So what I need is to have a cell where they can change the month and another where we can change the year. So I set up several named cells that look like this:

_MONTH =11 November
_YEAR =2013

I tried several versions, I am hoping for something like this:

=('_PATH &"[440A SIDE SPOILER JOB CARD.xls]"Production Parts'!B$228*2)+'_PATH &"[440A SIDE SPOILER JOB CARD.xls]"Production Parts'!B$262+'_PATH &"[440A SIDE SPOILER JOB CARD.xls]"Production Parts'!B$292

View 4 Replies View Related

Converting Formulas To Relative/absolute References With Formulas Referencing Other Sheets

Dec 15, 2008

I've found a few macros that will automate changing cell references from absolute to relative and they work great. However, when I run the macros on formulas that have references to another worksheet or workbook, the macro will not work correctly.

View 9 Replies View Related

Formulas To Hide Partial Concatenate Data And Determining Two Other Formulas

Dec 11, 2013

I'm trying to automate creating certain keyword combinations I need, based off of the values I input into reference cells in columns A - E; the goal is to compile a list of keywords which I will then use to track my rankings in search engines.

I'm looking to only output 500 keywords, so some of the cells in columns A, B, C & E will not contain data (column D will always have a primary Geo-target listed). This results in some of the concatenate formulas I've created outputting partial data (i.e. if there is no data in cell A10, and cell D2 contains the word "Knoxville", then cell I10 will output the data, "Knoxville "). How can I setup conditioning formatting or a formula so that these auto-generated cells appear blank if one of the reference cells has no data within it?The reason why I need the above to work is because I want to setup a formula that automatically counts the # of keyword combinations created by the data entered into any of the reference cells. With the partial combinations being listed, it skews my data. Which leads me to my next question: what is the best formula for counting the # of cells containing a full keyword combination from any of the cells listed in columns G - O (minus the data in the header cells; i.e. G1, H1, etc...)?Lastly, is there a formula I could use that would then aggregate all of the full keyword combinations within the "Complete Keyword List" column (column P)?

View 11 Replies View Related

Excel 2007 :: Formulas In Cells Not Being Recognized As Formulas?

Jan 10, 2013

I am running Excel 2007 on Windows Vista Business 32 bit. Recently I have noticed that if I enter a formula into an empty, unsused cell, it is recognized as a formula. If I modify that formula, it is then recognized as text and does not work as a formula. The only way I can get the cell to recognize a formula is to delete the cell and start over. This same scenario does not occur on previously stored workbooks. I have checked all of the flags that I know about, including the Options function.

View 3 Replies View Related

Paste Formulas As Values (strip Out Unwanted Formulas)

May 13, 2008

I have a macro running this code to strip out unwanted formulas and formatting.

Sub Quote_Wrapup()
'To stop screen flicker
Application.ScreenUpdating = False

Range("qdata5,qdata6").Font.ColorIndex = 2

'To delete delivery address lines if 1st line empty
If IsEmpty(Range("deliver_line1")) _
Then Sheets(1).Range("deliver_rows").EntireRow.Delete
'No End If required as only one action as a result of the If

Columns("A:E") = Columns("A:E").Value .........................

A spreadsheet based on my template has been sent to me because the macro won't run properly. When I try to run the macro I get a Runtime Error '1004' Method 'Range' of object '_Global' failed on the following line. Columns("A:E") = Columns("A:E").Value.

View 4 Replies View Related

Adding Formulas To Cell From Non Empty Cell?

Jun 14, 2014

So i was asked to do a spreadsheet for "counting" electrical items from a project. For instance, quantity of cables, cable trays, electrical equipment, etc.

One of the sheets is called "Cables" and is structured in a database form, i mean, the first row contains the name of the columns (fields) and from the second row will be the records (much like a table in Excel).

One of this columns has to be calculated, for example, Qty (B3) * Measured (C3) = Subtotal (D3). If i put the formula in the whole column filling D:D the size of the excel file grows up to 10 mbs. So to keep the size small, I want Excel to introduce this formula only if it can find a value in Qty (B3).

Is liking adding records in Access, the table should grow with each row completed. We cannot use access, it has to be something the team can handle (they know a bit of Word and Excel, nothing else).

View 2 Replies View Related

Two Formulas In One Cell.

Jan 14, 2009

I am trying to clean up a databse and I was wondering if anyone knew of an answer to this:- In Cell C,17 I have this function, ROUNDDOWN(A17/$C$8,0), and in the cell next to it I have ROUNDDOWN(C17/3,0)*3. As you can see, I need the result of C17 to make the other formula work, but I want to have the function as one formula. I am having trouble in writing the formula for the function to work. It should go something like ROUNDDOWN(A17/C8,0)/3(*3) but so far I have not had any lick in achieving a result.

View 4 Replies View Related

Two Formulas For One Cell?

Jan 1, 2012

I need for one cell to be able to perform 2 functions. Specifically, I need B2 to equal B2 minus C2 but also update and equal B2 plus E2. I need for there to just be one value in B2, but reflect the difference. I'm building a spreadsheet to show stock for my department and B2 is my on hand stock. C2 is the number used and E2 is the number I deposited back, or received from my reordering. Is there any way to make that one cell reflect those 2 functions?

View 1 Replies View Related

Hide Formulas From Formula Bar While Still Having Formulas Active?

Jan 16, 2014

Is it possible to hide formulas from the formula bar while still having the formulas active?

View 8 Replies View Related

Merge Two Formulas In One Cell?

Dec 16, 2012

Trying to merge two formulas in one cell. I have two cells with different formulas in them. I try to merge both formulas in a third cell to show different results. Depends on the case. All solutions found in searches made ​​by me does not fit my case. I can not use pivot table and not concatenated. Just a simple merge both formulas in a third cell if possible.

Case1 :


join to


Case2 :


join to


View 9 Replies View Related

Formulas Using Ranges Within Cell?

May 2, 2014

I'm working on a project whereby ranges of values are "scored".

The current layout shows ranges of within cells, and a hidden row with single values for the formulas to utilize. This means that whenever ranges are adjusted, the singles values also have to be changed.

I've attached a portion of the spreadsheet as an example.

Is there a relatively simple way to have the formula recognize the ranges as values and "score" accordingly?

If there is, can this be used for both ascending and descending ranges?

I should add that the ranges are not always percentages.

View 9 Replies View Related

Combining 2 Formulas In 1 Cell?

Jan 13, 2014

I am looking at combining 2 formulas and have them in a single cell. Currently I am using this one =IFERROR(IF(S3-V3=0,"Completed within agreed time!",S3-V3),"") if the value =0 but need another one if there's no value in V3 it would say "Outstanding" I have tried to add IFBLANK to the existing formula but I must be doing something wrong as it doesn't work.

View 1 Replies View Related

Two Conditional Formulas In One Cell

Apr 2, 2009

I am trying to write a formula so that:

if J9<10, display 00000
if J9 is between 10 and 99, display 0000
if J9 is 100-999, display 000
if J9 is 1000-9999, display 00
if J9 is 10000-99999, display 0
if J9>99999, the cell is blank (Note, it will be okay if this last one is not possible)

So far I have IF(AND(J9>9,J9<100),"0000","000"). So it works for numbers between 10-999 right now.

View 4 Replies View Related

Merge Two Formulas In One Cell?

Dec 16, 2012

I have two cells with different formulas in them. I try to merge both formulas in a third cell to show different results. Depends on the case. All solutions found in searches made ​​by me does not fit my case. I can not use pivot table and not concatenated. Just a simple merge both formulas in a third cell if possible.


Attached File : example.xlsx‎

View 14 Replies View Related

Recalculate Using Two Different Formulas In Same Cell?

Jan 25, 2014

I need to create a drop down menu or something of that sort, that allows the user to select what units he wants his results to be in.

When a particular units system is selected, the results must be recalculated and displayed in their respective cells.

No matter which units are selected, the units must always be displayed in the same set of cells, that means the formula or reference in the set of those output cells must change automatically, based on the units selection.

View 8 Replies View Related

Getting Two Formulas To Work Together In Same Cell

Oct 10, 2006

i have the following formulas that work perfectly seperatly



but it is imperative that i get them to show there results in the same cell.

neither are used at the same time, only one result is required depending on what is needed.

i did try putting them together as follows but did not work


View 11 Replies View Related

Remove Formulas But Keep Cell Value

Nov 11, 2012

I have the following code which copies certain cells if the Target value ="Yes". The Offset cells have formulas in them. If the Target value ="No", I would like to keep the value but remove the formulas. The problem is that highlighted code doesn't do what I expected.

Option Compare Text
Private Sub Worksheet_Change(ByVal Target As Range)
Application.ScreenUpdating = False
If Not Intersect(Target, Range("J:J")) Is Nothing Then

[Code] ........

View 8 Replies View Related

Fix Formulas In Cell So Can't Be Altered

Jan 10, 2013

I need to fix formulas in cells so that this can't be altered by others or mistakenly erase formulas.

View 2 Replies View Related

Reference The Formulas Own Cell?

Jan 12, 2013

I'm writing a custom function, and in the function i want a reference to the cell that the function is entered in, how do i do that?

View 7 Replies View Related

Multiple Formulas In Same Cell?

May 3, 2002

Is there a way to use multiple formulas for just one cell without damaging the others?

View 9 Replies View Related

Multiple Formulas In One Cell

Jan 24, 2014

I have compiled a spreadsheet and it has columns for the days of the week, Mon through Fri. I have written a formula in R9 which will add a range of comments in the Recommended Actions column (R) depending on what is entered in I9:M9. So far so good

Unfortunately when I enter anything in I9, then enter something else in J9 the "Recommended Actions" just adds another comment after the previous comment in the same cell as the formula in there references I9 & J9 & K9 & L9 & M9.

Can you think of a way to set it up so that when I enter something in I9 then enter something else in J9 it changes the "Recommended Actions" from the old comment to the new comment or deletes the old comment before adding the new comment?

=IF($I9="OK","Working ok",IF($I9="No Modulation","Check Profile and modulation",
IF($I9="FLD","Check pulse unit and meter operation",
IF($I9="No Data","Check Comms",IF($I9="Low Pressure","Check pressure on outlet",
IF($I9="High pressure","Check outlet Pressure",


View 7 Replies View Related

Combine 2 Formulas In One Cell?

Feb 3, 2014

I would like to have cell A3 contain two different formulas. I may be doing this wrong, so here is what I would like to do:

Cell A1 will contain a number that will change from month to month, but will need to show as $0 until then. Cell A2 will contain a fixed sum number from month to month Cell A3 will contain the difference between cell A1 and A2

I wouldl like cell A3 show as $0 until a number is inputted into cell A1




The formula I have in cell A3 is =SUM(A2-A1), but cell A3 shows $2000. I remember doing this before, cut can't remember the exact formula. Something like =if(A1

View 4 Replies View Related

Dual Formulas In A Cell

Aug 17, 2009

One formula is already present in the cell to show a value or date. I also want to use a formula to populate the cell with a comment from the contents of another cell.

I know the individual formulas, but just need to know how I can use both of them to show the results in the same cell.

View 9 Replies View Related

Calling Formulas From A Different Cell

Aug 5, 2006

I'm trying to make a spreadsheet where I can easily change a formula in one place and have the changes propragate throughout the rest of the worksheet. Here's an example of what I want to do.

View 9 Replies View Related

Hiding Cell Formulas

Aug 10, 2006

how to hide formulas from cells without having to protect the sheet. When I tried to hide some formulas the end-user was unable to input numbers into the model because the whole sheet was protectedl.

View 3 Replies View Related

Copy Formulas From Every Nth Cell

Jun 7, 2008

I'm working with a 100 worksheet workbook and am looking for a way to quickly copy formulas from the first worksheet I modify to some of the other worksheets (not all - every other one, actually). If the cells are A1, B1,A2,B2; I need to copy the formulas from B1,A2&B2. I can do this in 2 steps currently - copy & paste B1 and then copy and paste A2:B2.

View 2 Replies View Related

VBA - Paste Formulas Into Cell Ranges

Aug 12, 2014

I would like to add another step that pastes the formulas copied from the active sheet, to specific ranges of cells.

I would like the PasteSpecial XlFormats to apply to all cells on the active sheet, where as the PasteSpecial xlValues would only apply to all cells not in the ranges that the Formulas are getting pasted into.

Also for formatting purposes I have a few cells that are merged in the active spreadsheet, that unmerge when I run the macro. Ideally I would like any previously merged cells to stay merged once the macro is run.

Below is the VB I have...


Sub SaveSheet()
With ActiveSheet.UsedRange
.PasteSpecial xlValues
.PasteSpecial xlFormats


View 3 Replies View Related

Having 2 Formulas In A Cell But Only Use One Formula For Special Value

Jul 22, 2014

I need to create a list of results based on a system entered on by a user with data already there. The first number they enter is the UCN (a number) then either indicate if it is a rail road or not. The values for this is Y or N. I need to have it where if they put Y then a certain formula is calculated and if they Indicate N then I have another formula calculated the results are put into the APN column. I also need to have it where I don't get an error if I have either of the cells (UNC or Railroad) ...

I uploaded a sample file of what I have so far : Book2.xlsx

View 7 Replies View Related

Copy Formulas With Cell References

Jan 12, 2009

I have a formula that references data on another spreadsheet with multiple worksheets. I have a new worksheet for each month (Jan, Feb, Mar, ...).

How can I copy formulas in series that keep the cell references the same, but change to the appropriate month. So for the forumula below, I want to fill a series down in a column to represent each month.

Right now I have to go in and edit it to change the month to the next month (i.e. change Jan to Feb.)

An example of the formula is below. In this case, I would want to fill the series down a column and have the months update in series but keep the cell reference the same.

=SUM('[New 2008 sales report linked.xls]Jan'!$M$19,'[New 2008 sales report linked.xls]Jan'!$N$19,'[New 2008 sales report linked.xls]Jan'!$Q$19,'[New 2008 sales report linked.xls]Jan'!$L$47,'[New 2008 sales report linked.xls]Jan'!$K$47,'[New 2008 sales report linked.xls]Jan'!$S$47)

View 4 Replies View Related

Copyrights 2005-15, All rights reserved