I am trying to get my head around sumproduct. So I had a go at trying to use the following formula to add data in odd columns.
=SUMPRODUCT(ISODD(COLUMN(A1:J1))*(A1:J1))
The formula below works but I don't understand whats wrong with the one above. Can anyone please explain how I would use isodd to achieve this? What am I doing wrong?
I'm trying to count the number of rows in a dataset where column A is something, B is something, C is something, D is not something, D is not something else, and column E > 0 OR F is something but I just can't get the result I want.
My actual dataset is a staggering 294,000 rows and 46 columns so here's a simplified version:
Currently having problems getting correct head count. I have formula that works for rows 6-8 but fails in row9. The should be answers are in rows 17-20.
Conditions used in formula *Start date > Start FY =0 * Current Week > End Date =0 * End Date < Start FY =0
The date difference is divided by 7 because there are 7 working days in a week. If it is greater then 7 then it would be 1 for current week. I tried zipping the file but I could not shrink it to required size. find on weblink below: http://maxupload.com/E759C9D9
I have a excel workbook. which have a master data sheet or table as drawn.
[Code] ........
The above sheet is master sheet. I have also worksheets which named are matching with column head from "DARCL", "MMT", SSL"......till "GRT" (No "order" named worksheet is there). So I want to feed data or value as total order in "ORDER" column, (it is not necessary to put the value in each row) and the total value or number is distributed by me in particular column or colums. After data feeding I have required a command button or any button that can copy or show the reference row (customer name) with its cell value in the matched column head worksheet. As example: total order is 200 put in "ORDER" column in row 3, and 200 is distributed as by myself 100 in column "E" (MMT) and 100 in column "H" (RITC) and so on...after this feeding, I click the button and the data will show or copy as table M/S UIW : 100 in "MMT" worksheet and M/S UIW: 100 in "RITC" worksheet.
As example layout of others worksheets.(attach pic)
After click command button on the master sheet the related customer name and the value will be populated in respective matched column head with worksheet. If there is no cell value in master sheet the below mentioned cell are hides.
I have the following formula which returns the number of asset breaks for each head of dept in sheet3 based on their teams in Sheet1 and then does a countif in >30_DAYS_ASSET in sheet2. In sheet 1 is a mapping table with range names "Teams2", "Teams" & "Managers". I now need the formula to also do a count on the unique numbers in sheet2 Column B, if there are duplicate numbers then that will be 1 asset break, so for example for for Joe plummer we can see there are duplicate case numbers so the formula in total should return 2.
There are three situations that should yield the answer "overdue" and a fourth and fifth situation that should yield an answer "on target". I'm new to functions and have spent SEVERAL hours on this
Although the "Trip Sequence" is same , but I need to separate the Trips if the difference between the "1ST TIME " is more than 3 hours keep the first "Trip Sequence" unchanged , then by either adding a prefix or add 2000000 to the second "Trip Sequence" and 3000000 to the Third, so forth so on until all the rules are applied ( assuming more than 3 Trip Sequences could be also allocated in the database ).
I have 3 ranges in an excel sheet col 1 range contains a numeric value ("1" or "5") col 2 range contains a string value ("left" or "right") col 3 range contains a string value ("a" or "b" or "c")
example: I am trying to get a total count if col 1 contains either a "1" AND col 2 value is "left" And col 3 value is "a". Note: If col 1 is blank (" ") then the rest of the row is irrelevant. See attachment
I am trying to calculate the number of forecasted hours worked per week for each contractor based on their allocation to the project and also based on a 37.5 hour standard week.
I am using a formula which was previously provided to me for another problem but theoretically should share the same logic. The formula works only when a contractor is forecasted to work for a full week. If there is a contract which finishes mid week the formula returns a weird value. Also another problem is that if a contract is starting on the 12th of January, it still forecasts a full week for the week commencing the 7th of January. I have attached a spreadsheet for everyone's reference.
I want cell B to be blank if 1 of 2 different conditions are met. If Cell A is blank then so too should be Cell B. If cell A contains data, then I want cell B to perform a formula $D$1-E6.
However, if Cell C contains data then Cell B should return to a blank status.
Sample spreadsheet attached to provide a visual of what I'm trying to accomplish.
Issue: Need to identify which userid's can be deployed and which userid's can't
Detail: In the attached spreadsheet, column A would list all userid's that the project team wants to deploy an application to. Let say for this example that they want to deploy Adobe Acrobat Pro v9 to replace Adobe Acrobat Pro v7. In my actual spreadsheet, there are 1307 userid's in Column A.
As a result of meetings, we have identified 11 Functional Teams that CANNOT have their users upgraded to Acrobat Pro v9. Using internal LDAP look up tools, I am able to generate a list of userid's for each of those 11 Functional Teams. The numbers vary. Again, in my actual spreadsheet so far, Functional Team #1 has 600 userid's, FT#2 has 2700 userID's, FT#3 has 6700 userid's, etc. I'm not done generating the userid's for each functional team but I know I need assistance once I'm done!! LOL!!
Using Column A, I'd like to see if that same userid exists anywhere in Columns B thru L. If it does, then that specific userid cannot be deployed. I would like that userid to be displayed in column N. And in Column O, I'd like to display the name or names of the functional team that this userid is a member of. It could be multiple teams. This will help me identify users that have multiple functional team memberships. Useful data for future deployments.
Using Column A, if a userid does not exist in Columns B thru L, then that userid can indeed be deployed. I'd like to get that userid displayed in Column M.
In the columns below B is just 95% of A. What I want to do in column C is to put the maximum value of B over the range that corresponds until the value in A is less than that. For example for my 1st run the value would be $1,125.68 because this is the maximum amount before you fall below that in column A, or in this case hits $1,106.40. I want to be able to perform this automatically down the line (expanding the range until the logic test is true) but can't figure out how to do this. The formula would basically be the max of the range in Column B is > Column A until this is not true, then return the max in Column B for entry in Column C. Then in Column D I would run an identical analysis but return the Row identifer for the dataset.
I need your help on the attached sample sheet. I have used the concatenate & indirect combination logic to get the desire comments as outcome , but my problem is that I have 300 rows & 30 sheets in a workbook with this logic , it is increasing the size of my file as I have a total of 30 sheets with same logic. I need it in every sheet. If there is any other alternative or solution.
The actual dump will have around 200 - 500 rows of data.From the above I need to manually group them which are similar. E.g. the data of (3, 3, 2 , 2) in row 1 & 2 are matching, so they will be group 1 & row 3 will be group 2, row 4 will be group 3 respectively.
The sum & sort did not work as sometimes the data with the same range are not in same order. simpler logic/VBA code if any, which will automatically put group numbers if the data in two rows are exact match.
I'm working with Excel 2003 on a peice for work that requires users to enter their current grade and, if they have one, a temporary grade. Another sheet in the workbook needs to add together all those in a certain grade and who answered a certain way to a drop-down table, so that I can use it to figure out what percentage of staff are of each grade. At the moment it looks like this:
Which only draws information from the current grade (column F) and the answer they give (Column K). What I can't come up with is a formula that will only take column F as long as column G hasn't got a temporary grade, but if it does have a temporary grade will take column G instead.
I'm going nuts trying to figure out what formula I could use to give me totals in columns Q and R of the attached file. Basically, in the Weekly Totals column, I want to populate how many Customers and Bags were handled according to each ship name (the data is in the table to the left). Any suggestions would be GREATLY appreciated, I'm taking stabs in the dark but am not coming up with anything that works.
According to what I've read so far in this forum, this will be cakewalk for you guys to find out of (or at least so I hope.. :-) I don't know much about Excel, and what I do know is just logic sense, and a bit of common math.
My problem is in a sheet I use for my personal economy. (I'm a neatfreak, and a nerd...) The logic of my sheet is that I seperate the different type of monthly expenses, and sum them individually. The way I do this is that the A Column identyfies an expense (where 1 = rent, 2 = food, 3 = gas etc) while the C column is the expense itself, Example:
A B C On account 500 1 rent -200 2 food -20 3 gas -10 2 food -10 Sum expenses -240 On account 260
I then use this formula to discern them: {=ABS(SUM(IF(A$4:A$30=X;C$4:C$30;0)))}............
I have a excel sheet with city names in Column A, Distances in Column B, and Distances in Column C.
I wanted to write a formula so excel checks the distance between column C and column B and if there is less than a 10% difference between the two then it would copy the name of that city into another column D.
I need to put a macro in the toolbar which copies data from another worksheet. The trick is I have several worksheets and want the one macro to pull data from different columns based on which worksheet is active. So I need to test the name of the active worksheet in my logic.
I have a monster of a sheet going and am working for research purposes. I dislike the interface of SPSS so I use excel to boil down my variables to a smaller state, to which it then goes back to SPSS for the hardcore analysis. Unfortunately, this study has values of "N/A", "Missing", and "." (not entered), so it makes it a bit tricky for me. Say I want to check 10 different scales to see if any are true: =IF(OR(FJ6>=1,ZD6>=1,....etc),"Yes","No"))
Problem is the blasted program is reading ".", "Missing", and "N/A" as greater than one!!!!! I've found a way around by making monster formulas that first check that the field is not equal to those three text values, but there must be a faster way! To see what I mean, put a period in one cell (like A1) and write =IF(A1>=1,"Yes","No") and you'll see it returns a Yes.
I use a large function when ranking numbers in an array each month. I'm only interested in the top 5 numbers. However, there are occasions when the top 5 numbers contain a tie. How do you build into a large function, logic to handle a tie. Here's my function, which is very simple:
I'm trying to have three different possible results from one formula based on one cell.
If A1 is greater than 10 I want B1 show 5, AND if A1 is less than -10 I want B1 to show -5, AND if A1 is between 9 and -9 I want B1 to show the value of A1/2.
I've done something similar using functions but I think a macro is best, in essence in calculating in finance world, a Earnings Before Interest and Tax or commonly referred to as EBIT, one often takes out non operating income and non operating expenses.
What I was hoping to do is have a macro
1. Ask the user to shade or highlight which range to calculate from firstly (like Colo's HTML marker with the pointer where you use the border type lines to highlight the boundary first).
2. The macro than inserts a column to the right of the year block highlighted. the macro uses this column to tag the financial line items, ie. in this case below a 1 for income types (can be any tag) and a 2 for expense line items.
3. It than looks through the database of words (and this is where the fuzzy logic comes into it, there are words which would definitely require a tag, but there are others which may require two matching words). I intend to fill this macro with many expressions which auditors and who ever prepare financial reports use as words in their financial statements..
4. So the macro than looks through this database of words for income and also for expenses, and when it finds matches, it tags alongside the finanicial a 1 for income and 2 for expenses .... signifying non operating income or expense.....
I'm having a problem with coming up with a suitable excel formula. I have a table that calculates 2 values. Once these values are derived I need them to be compared to a separate table. This is how it works.
Table 1: Cell B8 gives me total weight: 3187pounds Cell C9 gives me the center of gravity in inches: 142.02
on sheet2 Table 2: Cell A2-A26 have weight increments every 50 pounds starting at 2200. Cell B2-B26 have the minimum C.G. limit Cell C2-C26 have the maximum C.G. limit
My question is how can I write a formula that takes the weight from B8 and compares it to the cells on sheet two (rowA) and finds the closest weight. Then from there finds out if my C.G. from C9 is within limits of my min and max values? Sounds complex but it's not that bad. I'll upload the file to my website and let people download if they'd like to see it.