I am trying to create formula that will show overtime worked in a given day. The code I am using is a simple one ([ cell - 8], for hours worked). The problem is when the time cells are blank/not used it shows a -8 in the cell. what I need to do to create a code that will eliminate the -8 from showing. The cell its self is taking the result from another cell with a formula and then subtracting 8 from the result of the formula in the other cell.
I am trying to get excel to roundup to the nearest 100 any numbers that are in 3 columns. Each row in these columns are then added together for a total sum of that row. How can I get all the numbers in these three rows to be rounded up to the nearest 100 after entry?
I am trying to create one formula (in one cell) so that it performs the following three things:
1) Rounds any number to the nearest dollar
2) Makes the minimum dollar value $2.00
3) If another cell (G2) reaches $100.00 or more, I want it to revert to another cell's (B2) value.
So, in essence, I want to combine the following two things:
=MAX(2,ROUNDUP(F2,0)) AND =IF(G2>="100",B2)
I do not know how to correctly order these so that it performs all three things I'm looking for it to do. I've posted this before, but was given an answer that created a circular reference and did not make the minimum value $2.00.
When I look at the formulas in B17 by clicking on the name of the fuction and then clicking on the function button, the roundup function arguments shows 0.071. Also the vlookup function arguments shows 0.071. Yet I get the #n/a as the result from the vlookup in B17.
I have tried coercing the formula by addin +0 like =VLOOKUP(ROUNDUP(B15,3)+0,$N$2:$O$91,2,FALSE)
I have also tired *0 like =VLOOKUP(ROUNDUP(B15,3)*0,$N$2:$O$91,2,FALSE)
Here is a kicker... When I replace B14 with 0.9 or 0.7 or 0.6, the formula works. but I get a #N/A on 0.5.
A UDF function seems to interfere sometimes with the rest of the workbooks entire process for some reason.
I could use the CEILNG function to work around the glitch, but it does not seem to allow the flexibility required because it takes everything to 1. So for example if a Value is 9.24, CEILING will Sum to 10 when when it must be 9, unless I'm missing something. But if the Value is 9.25 or 9.26 then rounded value must go to 10
The basic math required in the formula bar then is: ...
I have a formula that calculates a revenue per day by taking total revenue devided by total days, from that I have another cell doing a VLOOKUP on that to find what tier that value falls under almost like a grade book, however I need the division to be rounded up if greater than x.xx5 because when I do the VLOOKUP sometimes it drops the product to the lower tier when I needed it rounded up. example:
Starting on Row 2, there's a break down of 4 quarters of data divisible by 4 using the whole number TOTAL of Parts in Col A.
The analyst must first break it down into 4 parts (as done in Col B through E). Then, round up and down appropriately to ensure that NO DECIMAL data is entered into another main frame system.
Can't copy one formula downward because if it ends in .50, the up/down sequence is diff from how it would be rounded if it ended with .75.
Need vba to be smart enough to evaluate "IF" and apply "THEN" according to what it sees in Col B's data and convert B, C, D and E appropriately. (I will tie this to a button within a toolbar to run the macro/vba when the conversion of B thru E is needed.
EXAMPLE: IF B's data ends in: xx.00 or xx.50, then convert those 4 quarter's data accordingly: ROUNDUP, ROUNDdown, ROUNDUP, ROUNDdown, (this one doesnt really matter but works)
IF B's data ends: xx.25, then convert those 4 quarter's data accordingly: ROUNDUP, ROUNDdown, ROUNDdown, ROUNDdown,
IF B's data ends: xx.75, then convert those 4 quarter's data accordingly: ROUNDUP, ROUNDUP, ROUNDUP, ROUNDdown,
Using ROW 6 as an example for how to handle xx.25's: B6 would convert up to 4 C6 would convert down to 3 D6 would convert down to 3 E6 would convert down to 3 TOTAL after conversion = 13
(the range 940:979 is a filled with investment funds data all within a particular sector, this formula for example will return the name of the number 1 rated fund, ie "mega star cash")
However, the above assumes that the ranges specified wont change, but they do, frequently and there are over 300 of them, so I earlier got help to create the following formula which can tell me what range a certain set of data lies within:
(so I tell this formula to look at a specified sector name 'cash funds' and by tweaking the number in bold it will return the range of data that i want to feed into the first formula, ie it will return D940:D979, DJ940:DJ979 and DG940:DG979)
If the data ranges change then these cells will dynamicaly update, either the range will shrink or grow - which is perfect - what i want to know is if i can integrate this into the first formula, so if you like it becomes completely dynamic.
I have created a simple SUM formula to add cell values across six sheets in the same workbook. I see the result when I use the formula button but the result (number) does not appear in the cell. All I get is $ -.
I am currently working on a data analysis project (data mining) and need to collect and later analyze statistics for the inputs which control a series of calculations. These statistics are shown in the Statistics 1, Statistics 2 and Statistics 3 cells in the workbook that I attached. The inputs are X,Y; all possible values for these inputs are listed in the N,O columns. Basically I need a macro which would take the values from these two columns and place them pair after pair into the controlling cells (K3, L3), then it would copy cells H2 through L3 (updated stats) to a new sheet after each copy operation - so that I will finally have a list of statistics for all of the input pairs.
I am using this formula. How can I get it to pull 'Sales Materials'!$F17:$F69' and display along with 'Sales Materials'!$B$17:$B$69 when my logical statement is true.
=INDEX('Sales Materials'!$B$17:$F$69,SMALL(IF('Sales Materials'!$E$17:$E$69="YES",ROW('Sales Materials'!$B$17:$B$69)-16),ROW(A1)),1) I've tried using * but I think something is going on with "-16" which I was told to you use to account for headers.
I have a spreadsheet which matches Reference numbers in Column A against Column B and vice versa; and assigns unique or duplicate values. I would like to be able to count the number of duplicates and uniques giving a total of how many appear in the spreadsheet. I've attached the spreadsheet to give you an idea of what its like.
Hello, I cant figure out how to do this! I have a cell B2 that I enter a number in and in cell C2 I want it to add the number from B2 and add 15 to it. I can get the formula "=B2+15" and it works but I wont always have a number in B2 and I want it to say "0" and "0" would be in C2. Any ideas?
Is I have a VLOOKUP formula which results in a defined name- great! but when I reference that result in another formula I get a #REF error, if I type the defined name directly in to the formula (index btw) all works but I need the formula to recognise the referenced cell.
=VLOOKUP(B8,Cable.Table,2) this results in a defined name of a table (D1A) in cell B30
The cell B30 is named "table". I then have another formula in B33 which is:
=index(B30,B47,C12) or =index(table,B47,C12) Which gives me the #REF error
If I input =index(D1A,B47,C12) the function works but it needs to be the initial reference from the result of the other formula and recognise that it is a defined name.
The formula in Col G uses the value in col's B:E. I would like a formula in Col G that will use the 4-digit value in Col F ( same values as Col B:E) and return the same results.
I have 4 source workbooks and a master workbook which is linked to the source workbooks, if the source workbooks have no value in specfic cells the master workbook which is linked to it shows a 0 (not a problem). Now if I want to copy only cells which have a value other than the 0 to the end of used rows on another sheet on the Master workbook using VB I run into a problem because it sees 0 as a value and copies as well.
The issue is how do I stop the 0 showing and not being seen as a value. This 0 shows regardless of format.
I have a spreadsheet (attached) that has a formula, which calculates the number of days between two dates if another field contains data. My problem is that when I chart the data, it isn't showing up in the chart. Cell G1 (Tab 1) contains a 1 because the document was returned 1 day late. This isn't showing up on the Chart (Tab 2).