# Formula To Sum If 2 Different Factors Are Needed

Apr 9, 2014

I have a big list with names, money spent and date. I need somehow with a formula to do:

Take all the money spent on some specific day from a specific person an put it into a field.. and this for every date of the week and for everyname... Im gonna upload a photo.

Name
Money

Date

Daniel
5

01.03.2014

[Code] ........

I need the list of the left to produce me list of the right somehow, at least just the sum of everything spent everyday.

## Interpolating Factors (factors For 1 Years 1 Month Early)

Jan 20, 2009

I have a spreadsheet with early retirement factors;

Years early
1 93.5%
2 87.6%
3 82.3%
4 77.4%

What I'd like to know is if there is an easy way to work out the factors for 1 yrs 1 mth early, 1 yrs 2 mths early, 1 yrs 3 mths early, etc.

## Formula Needed That Changes According To A Specific Day

Oct 12, 2008

I'm trying to make a spreadsheet for work so when im not there they can just enter the day for example sunday and what they have and then it will show them what they need to prep

## Specialized Average Formula Needed

Jan 14, 2009

In order to avoid embedding 12 if statements, I want to take an average of a selection of cells based on what month it is. So I have a "now" function, and then a month function referencing the "now" cell so that I get the current month as a number 1 through 12. I have a row of expenses (C14:N14) and I just want the average from January up to the current month. The reason I can't take an average of the entire selection is because the users don't want to have to enter a 0 everytime there's nothing, they'd like to leave it blank, so the sheet needs to recognize what month we're up to. And the average function in Excel only takes an average of the data that is present, not the entire range. For example, if the data in the first cell was 15, second cell was 15, and third cell was blank, the average function returns 15 and not 10. So what I need is, for example, if it's March, the average will calculate =average(C14:E14) and so on. Any ideas? Maybe it's a simple change of formula instead.

## Formula Needed That Identifies Last Time Product Run

Jan 21, 2014

Basically I have in the first column, different products (lets call them a, b,c and d). in the second column is a counter which starts at 1 and continues counting down the column.

In the third column I need to identify if it is the last time the product has been run. i.e there are no more duplicates of product a further down the 1st column.

I have attached an example : example.xlsm‎

## Update Formula Needed For Multiple Workbooks

Feb 5, 2012

I'm in need of some VBA code to control the updating of information from 16 active workbooks to a master workbook and vise versa. I would like it on command as it slows down the use of the workbooks when they calculate after every change of data as they are being used. These workbooks are connected over a company intranet and are used 24/7.

The desire is that cells in the master workbook will read specific cells on each of the other workbooks and complete a "map display" of the data. The data is not in a column or row range side by side but scattered across the sheet to form a map when data is entered.

I've tried using code to open and close the workbook with on time events but that hasn't worked.

## Formula Needed To Separate Names From Numbers

Sep 21, 2012

I have a phone list set up as LastName, FirstName PhNum all in a single column. The problem is, some last names have a space, some phone numbers are in the xxx-xxx-xxxx format while others are just an extension like xxxxx.

Example:
Smith, John 519-123-4567
Van Smit, Joe 12345

What can I use in a formula to extract the numbers so that I can end up with 2 columns, one with names, the other with numbers.

## Formula Needed For Calculating Profit On Sales

Dec 14, 2012

In my spreadsheet, I have data for each sale in each row. Column C is the buy price, and column D is the sell price. I need column C to be subtracted from column D to get the profit into column E so that I can AutoSUM any cells in column E for total profit over any time period. The problem I'm having is that in columns C and D, I have either a dollar sign in front, or the letter m following without a space (ie \$45.00 or 150m). Many cells in column C also contain another word following the buy price, and many cells in column D have a date following the sell price (ie \$32.00 12/11 or 42m buyout).

Examples of how my spreadsheet looks:
A1: 12/13/12 B1: Item #1 C1: 100m D1: 152m
A2: 12/14/12 B2: Item #2 C2: \$20.00 D2: \$35.00
A3: 12/15/12 B3: Item #3 C3: 90m bid D3: 120m 12/16

So looking at my example above, I would need cell E1 to automatically show "52m", cell E2 "\$15.00", and cell E3 "30m"

How I can get a formula for all of column E that will give me my profit for both \$ and "m" for each item (row). I have tried the SUM function but just keep getting the #VALUE! error, it does not ignore the text like many people say it should.

## Formula Needed To Count Cells With Data

Jul 12, 2007

formula to calculate how many cells in a column contain data of any kind. The data might be a number, a word, or even a symbol, such as "):>:)" for example. The range will change from time to time. For example, one day it might be a2:a4956. A few days from now I might delete a few rows from the top, such as rows 2 through 26, so then the range would be a2:a4931. Then I might add rows at the bottom with data that I need to be counted. I dont want to have to change the formula evertime I add or delete rows with data. I do not want the formula to count a blank space created by the space bar as "data." One formula I used sorta worked, but if the cell appeared empty, but had been cleard out by pressing the space bar instead of the delete key, the formula counted it as a cell with data.

## Formula Needed Based On 2 Conditions And Variable Row Reference

Jan 9, 2014

I am an architect and recently I was required to do some extensive calculation relating to water requirements and toilet requirements for a building that i was designing. i created a excel file, with a basic vlookup function to put certain values in the cells that are pre-defined for a particular building typology (mostly created by governmental bodies as guidelines). for example, when i choose a particular type in column E, column F and G fills up automatically. now this table also gives me occupant load based on what is the area i enter in column D.

The problem is that I want to automate the calculation of toilet requirements. Now, each typology will have a different formula to calculate WC/Urinal/washbasin.

1. there will be 17 different formula - one for each typology (as shown in sheet 5)
2. Column j will calculate what is the number of WC required based on 2 criteria - first id what is the typology and then looking what is the number of occupant.

The problem here is for example, if in E9, selected typology as "offices", the formula of offices typology will be used in J9 and occupant value from H9 will be used but if i have E18 also selected as offices typology, the same formula will use occupant value mentioned in H18 instead of using H9.

Hence, excel will first have to look what is the typology selected. based on that, it will load formula - out of that 17 different formula - specific to that typology and finally it will refer to corresponding row for occupant load and will use it in the formula to get the result.

## Formula For Number Of Perfect Ordered Needed To Achieve Certain Target

Jun 11, 2014

I was working on a chart to calculate my Amazon seller rating to see how many more perfect order I need to hit my next target grade. Here is how the calculation works.

Order with no problem gets 100 points per order
Minor problem gets 0 point
Moderate problem minus 100 points
Severe problem minus 500 points

<84.5 Fair
<96.5 Good
<98.5 Very good
Above is Excellent

Total points / total orders = final grade (or percentage)

As of now i got : 53800 (points) / 624 (orders) = 86.22(%)

Now that I know what grade I've got so far and I also want to know how many more perfect orders I need to achieve my next targets or in case some bad orders come by and how far they pull me down.

Attached is my work sheet so far and I'm just missing the calculation for the orange shaded part.

Amazon seller rating calculator.xlsx‎

## Formula Needed To Copy Same Set Of Data From Cells And INDEX Into A List

Nov 27, 2012

I have a list of data in columns Q R S and i need to in between each line insert the data from columns D E F underneath and then underneath that the data from G H I

so bascially i have a list at the moment like this

Q
R
S

[Code]....

There is 2 sheets in total , 1 i need to inc 1-1 draw as above and the other sheet to be exc the 1-1 draw . I have attached an example of what i am trying to achieve . can offer as i have had this on excelforum.com with over 150 views and no solution

## Formula Needed To Make List Of Same Numbers From A List

Mar 21, 2014

A
B
c
d

[Code]....

So the data I put in Is Cells A to D the reast are calculated for me. so for example E2 is looking down column D to see if the number matches the number in A2, If any of them do it will put the name in the corresponding cell in E2 (Or you ca use a different cell if you prefer) so in this case D3=A2 so B3 is the answer also in the cell next to it I need whatever number is the cell next to the answer so in this case C3

## Better Method Needed For Column To Column Formula Transfer

Apr 20, 2007

On 18 worksheets I intend to use variations of the formula below to read ColsD:G and ColsK:N to ascertain whether the values are less then or equal (

## Formula Needed To Format A Cell When Its Value Is 0.2 Less Than The Cell To The Left

Apr 27, 2009

Is it possible to do the following?

if cell A1 = 6 and cell A2 =5.8 (0.2 below A1) colour cell A2 orange

if cell A1 = 6 and cell A2 =5.5 or below (0.5 or more below A1) colour cell A2 red

if cell A1 = 6 and cell A2 =6.2 / 6.5 / 6.8 (0.2/0.5/0.8 above A1) colour cell A2 green

if cell A1 = 6 and cell A2 =7.2 or above (1.2 or above A1) colour cell A2 green

## Sum With Factors Built In

Jan 26, 2012

I have the data below. I need to total the amount in the USD Equivalent column but there is an exception. Where the "Curr Sold" and the "Curr Sold" are the same in reverse (as highlighted) in yellow, I need to take the net figure. For example below, I need to add the USD Equivalent column but then minus the 6,013,072.66 because the CHF - USD is the same in reverse with the same maturity date.

Maturity DateCurr SoldAmount SoldUSD EquivalentCurr Bought
09/03/2012USD7,535,000.007,535,000.00CHF09/03/2012CHF5,578,989.356,013,072.66USD
09/03/2012USD5,000,000.005,000,000.00AUD

## Ranking Depending On Several Factors?

Dec 7, 2012

I have to make a hierarchy of my employees, taking in consideration the achievemnt of their target. I'll attach a sample to make it simple to understand. The are 2 classes of factors: Class I and Class II.

- In Class I (witch counts 75% in total results) there are:
- New deposit - count 75% from class I
- Insurance - count 10% from class I
- Investments fund - count 15% from class I
- In Class II (witch counts 25% in total results) trere are:
- Loan A - count 15% from class II, but the number have a weight of 40% in results, and volume 60%
- Loan B - count 75% from class II, but the number have a weight of 75%, while volume have 25%
- New clients - count 10% from class II

Now, I have to rank the employees taking in consideration the Deviation for all of the factors above (columns E, H, K, P, Q, V, W, Z).

## Count All Of Factors Of Integer

Nov 4, 2011

I need to count, not list, all of the factors of an integer. For instance the number 12 has the following, 1 2 3 4 6 12, so the solution to the NoF(12)=6.

## Excel Calculation System With Two Factors

May 8, 2014

I am making an Excel calculation system where I have two factors (weight and opening length), which is essential for which lift there is possible to use.

There are 8 models each of which may have some limitations in terms of weight, and the opening length:

ModelPushing/pulling Force (KG)Stroke Length (mm)
HCV 130 350
HCV 230 600
HCV 330 800
HCV 430 1000
HCV 550 350
HCV 650 600
HCV 750 800
HCV 850 1000

What I am looking for is a formula, that when you enter numbers in two cells "Weight" and "Opening distance" of what their platform is to meet, then all the models that have the potential to accomplish this task pops up.

Example: A client writing a weight of = 40 kg and opening length of = 450 mm. The formula should then show which model that meets the requirements.

In this case: Models that meet the requirements for the lift.

ModelPushing/pulling Force (KG)Stroke Length (mm)
HCV 650 600
HCV 750 800
HCV 850 1000

## Calculating Cost Based On Several Factors

Jan 7, 2009

i. I currently have a spreadsheet which is used to forecast resource cost for a project. The forecasted cost is calculated on a few factors - rate, allocation, contract start and end date, and expected days worked per month. One of the mods actually helped me out with this a few weeks ago.

I now have been told that there is a possibility that certain resource costs may change in the new year and that will need to be reflected in the sheet whilst keeping the historic information.

For example - XXX has a rate of �200 p/d, allocation is 1, working 18.83 days p/m and is working from 01/01/09 to 01/06/09. The current formula will work out his cost per month until contract end. Now say his rate will be changed to �150 p/d from the 01/03 and all other info remains the same, I need the sheet to calculate his revised cost from 01/03 onwards and not change the calculation previous to that month.

Now Ive actually managed to figure that part out myself by adding in two columns (over-ride rate and over-ride date) using a nested IF statement. The only problem is that if the new rate starts mid month then it will still calcuate the original amount for the full month and the revised amount from the next month.

Edit - Also, could someone advise as to how do I remove my old attachments as I have almost used up my allocation.

## Spreadsheet With Unit Conversion Factors

Dec 19, 2009

I've been looking on the internet for a spreadsheet that lists the various units of measure with conversion factors to other units. I'm not looking for the formulas, just a chart.

## Remove Data Based On Two Factors

Apr 16, 2009

In the enclosed SS there are several columns, "A" being Style and "G" being Available. I'm trying to piece together some code that will remove all of a style(all sizes) if the number of stock is less than say 3; however, if any one style has 3 or more available the entire style needs to remain in the spreadsheet.

I've been trying to piece together some code but I don't think I've quite come up with what I'm looking for.

## Prime Factors Regardless Of Number Length

Jan 29, 2010

Searching through the forums, I've found a post of daddylonglegs, witch shows how to find the smallest factor of a number:

## Calculating A Range Of Values Based On 2 Factors

Feb 2, 2009

I need a way to calculate building rates based selecting the building and the value selected;

I have a list of building construction (fire resistive - protected, non combustible - protected etc)... in cell N8 and the limits in cell O8.

Now what I need to do is calculate the rates in the file attached (cells A5:J21 in my worksheet) based on the building construction and the value/limit I select.

## Producing Random Number, Then Another With No Common Factors

Aug 5, 2009

This is kind of an extension to a previously solved post. For a similar problem I used the attatched file (which someone from here so kindly came up with - but to be honest i dont fully understand),

but now im getting onto numbers from 1 to 100 so could get very confusing in the table!

RANDOM TABLE2.xlsx

Basically I want to produced a random number, (which I have managed) then another number, but it cant have any common factors as the first.

So 1st = 10, 2nd = 13 is acceptable
but 1st = 22, 2nd = 12 is not.

I have managed to do it with smaller values by just typing then out, but this is a very long winded technique, but is there a formula that can do this?

## Converting A Number Into A Word Depending On Several Factors (age, *** Etc)

Nov 4, 2009

I have a spreadsheet where I want to record the VO2max value (a number indicating the maximum volume of oxygen a person can utilise) of a person.

The VO2max is just a number, normally between 30-60.

I then need excel to look up the VO2max value (i.e. �35�) and give that number a predetermined inputted value name in a different cell (i.e. �low� or �fair�, �good�, �very good� etc etc).

However, as VO2max is also affected by age and *** I also have a column for the participants age and *** and I want excel to use that to make the value name.

E.g. in a 24 year old male a VO2max of 32 is �low�
But, in a 42 year old female a VO2max of 32 would need to be classed ��moderate�

Any ideas how this can be done? can it be done?

I could post the table containing the age range, values and names if I knew how to post an excel sheet on here.

## Index Function - Row Criteria Requires Two Factors

Mar 28, 2012

I was hoping to use the index function, but I'm having difficulty because the grid or table I'm pulling from, one of the row criteria requires two factors. It would be something like:

[A] / [B] / [C] / [D]
Numerical value / Dogs / Birds / Whales

1: 500-599 / Doberman / Parakeet / Grey
2: 400-499 / Rottweiler / Lovebird / Killer
3: 300-399 / Cocker Spaniel / Cockatoo / Baluga

So essentially, whenever a number falls within that range, it would pull the corresponding animal

450/Birds = Lovebird
320/Whales = Baluga

I wish I can show an excel spreadsheet on this, but not sure how.

=INDEX(ResultRange,MATCH(RowField,RowFieldRange,0),MATCH(ColumnField,ColumnFieldRange,0))

## Recognize Conversion (word To Number) And Multiplication Factors?

May 20, 2009

I'm trying to make a table of the total amount of a liquid used throughout the day. Here is what I am trying to do: In cell D4, I want to be able to enter something similar to the following: 3cup+2bottle+1liter

and by doing so, Excel can automatically recognize that 1cup is 8oz, 1bottle is 17oz, and 1liter is 34 oz because of the reference chart provided on the side. Also, it would be able to notice the 3, 2, and 1 amounts so it would multiply accordingly so it would know to do this: (3*8)+(2*17)+(1*34)

and then put the calculated amount in the cell. The correct answer should be 92oz. Is there a way for Excel to recognize the conversions (i.e. whenever it sees 'cup' it will multiply by 8) and multiplication factors (i.e. 3, 2, 1)?Is there a formula I can enter that I can just "drag" down to the upcoming days in column D?

I know I can just do something like this: (3*G4)+(2*G5)+(1*G6).

## Excel Query - Calculating Result Based On Three Possible Factors?

Jan 9, 2013

I am working with data and I am trying to identify people that have moved departments using the following criteria, a person are classed as a mover if their:-

Manager AND Dept ID have changed

OR Job Code has changed

OR Status has changed

I have been trying to come up with a formula but just can't get one to work?

## Obtaining Certain Data From A Range Depending On Multiple Factors

Nov 15, 2013

I have a sheet with 5000+ entries, column A is an ID number, column B has one of 4 outcomes C,D and E are just times and quantities and are not important.

In column A there could be multiple entries of the same ID number.

In column B it will show Pcid243A, Pcid243B, Ddar400A or Ddar400B.

I need to export (to another sheet) any entries with the following conditions:

A = ID number with any instance in B showing both a 243 and 400 condition.

E.G

A B C D E
AA565677878D - Pcid243B - C - D - E
AA837632823G - Pcid243B - C - D - E
AA837632823G - Pcid243A - C - D - E
YA74846CC - Ddar400A - C - D - E
WW768765364F - Ddar400A - C - D - E
WW768765364F - Ddar400B - C - D - E
WW768765364F - Pcid243B - C - D - E
AA73262362G - Ddar400B - C - D - E

In the example above, I'd need the red cells exporting to a new sheet as they meet the conditions of having the same ID and both a 243 & 400 outcome:

A B C D E
AA565677878D - Pcid243B - C - D - E
AA837632823G - Pcid243B - C - D - E
AA837632823G - Pcid243A - C - D - E
YA74846CC - Ddar400A - C - D - E
WW768765364F - Ddar400A - C - D - E
WW768765364F - Ddar400B - C - D - E
WW768765364F - Pcid243B - C - D - E
AA73262362G - Ddar400B - C - D - E

Now I've spent ages trying different things and can't get anything to work...