# Extract The Total Number Received For The Various Scenarios

Apr 29, 2008
I have a spreadsheet with 4 columns named:

type

date received

time received

number received

Is it possible to use vbscript and extract the total number received for the various scenarios:

all numbers received

numbers received before specific date

numbers received on specific date before specific time

numbers received after specific date

View 9 Replies
ADVERTISEMENT
Oct 7, 2012

I am looking for a way to count the number of emails I receive per day and hour, below is a chart that I use to see the data. I had accomplished this with sumproduct, however it severely slows down the workbook processing to the point that it is no longer an option to use it. I extract my data from outlook and format my date and time in the same column such as 10/01/2012 15:00, I work from 7AM until 5PM then all other email are considered after hours and go in the 5p-7a row.

Email count.xlsx

Time

Mon

Tue

[Code]....

View 2 Replies
View Related
Apr 22, 2009

This may not be the best way to do this, but I don't know Macros or Pivot Tables.

I am looking for a way with formulas to do the following:

Within a workbook the 1st sheet is the data entry.

In another sheet that will total data from the data sheet is where I want to be able to total columns of data, depending on what is entered in one specific column:

Example:

Data Sheet, E2:E2999 is a unit number selcted by pull down tab entry.

G2:G2999 in the same sheet is where the data is.

Q: What formula would allow to total the data on the Total Sheet depending on what unit number is selected in column E on the Data Sheet and the data amount in column D from Data Sheet?

View 9 Replies
View Related
Dec 21, 2008

I'm sure this can be done but I don't think I have the formula correct. What I am trying to do is add each day's total while displaying a positive number if the total exceeds 6000.

View 5 Replies
View Related
Dec 13, 2013

number for item detail level from category standpoint. For example, in the category sheet has total number per category and per month and in the item detail sheet has a list of item number with category. I want a formula to recognize which item belongs to which category then use the total number of category by month to multiply with % of total in column D from Item Detail Spreadsheet.

View 2 Replies
View Related
Oct 6, 2006

I need to make a formula to extract GST from a total amount, when the total amount also has PST (like state tax) in it.

GST is 7%

This is how I would figure it out manually

$100/1.07=93.46

$100-93.46=6.54

$6.54 is the number I'm trying to figure out how to get to with an excel formula.

View 3 Replies
View Related
May 30, 2007

What I am trying to do is a formula for two different 'if' scenarios that will return one value for one answer and another value for the other. They are not numbers, they are text.

For example:

if the cell contains 'pcs' value would = no

if the cell contains a dollar amt value would = yes

View 9 Replies
View Related
Feb 17, 2009

I'm trying to replicate the VBA code for displaying scenarios using a drop-down list that I found on this website: http://www.tvmcalcs.com/blog/comment...rop_down_list/

However, I've not quite been able to get it to work on my worksheet. This is my

View 3 Replies
View Related
Mar 28, 2009

how i am able to change scenarios using data validation. e.g I have 3 scenarios, i want to be able to show different scenarios using the data validation button. Also in the 2003 excel version i am able to have a scenario toolbar shortcut, how can i have this toolbar shorcut in excel 2007?

2008 Jan Feb Mar.... 2009 Jan Feb Mar..... 2010 Jan Feb Mar.....................

eggs 15 25 35......... eggs 8 11 15............ eggs 96 15 6......................

milk 10 15 20............ milk 65 32 36........... milk 100 36 36......................

butter 5 20 1............ butter 8 18 15......... butter 8 5 45.....................

i want to be able to change values for each year using data validation/drop down list?

1 last question i also want to know how i can circle certain data for training purposes.

View 9 Replies
View Related
Jun 9, 2014

I have a column with Cells that will sat True or False, the amount of rows will be different every time, I need to work out what the total percentage of True cells compared to the total number of cells. How would this be achieved.

View 9 Replies
View Related
Feb 24, 2009

I just want to create a combo box that will allow my manager --- not so good at using menu commands or the scenario manager --- to choose one of five different budget scenarios. I can't seem to get the actual scenarios to change when the selection is made from the combo-box.

This is the

View 4 Replies
View Related
Mar 18, 2014

I have a spreadsheet I work with which contains a formula that needs to take an item ID letter/number combo, substitute the preceeding letter(s) with leading zeros (if the initial numerical characters are fewer than 5) to make the result return a 5-digit number.

The original ID can be in several possible formats (beside each I will post the desired result):

V7684 07684V366 00366V88 00088V60827 60827VS57871 57871VS67 00067

I have the following formula which works like a charm for all except the last example:

=IF(LEN(K2)>5,(SUBSTITUTE(SUBSTITUTE(K2,"VS","),"V",")),(REPT("0",5-LEN(K2))&(SUBSTITUTE(SUBSTITUTE(K2,"VS","0"),"V","0"))))

If the first 2 characters are letters ("VS") and there are fewer than 5 numerical characters, the formula results in a 4-digit number, rather than 5. Using the above example, VS67 returns 0067 instead of 00067.

P.S. I just tried

=IF(LEN(K2)>5,(SUBSTITUTE(SUBSTITUTE(K2,"VS",""),"V","")),(REPT("0",5-LEN(K2))&(SUBSTITUTE(SUBSTITUTE(K2,"VS","00"),"V","0")))) which only works when there are 3 or fewer numerical characters.

View 6 Replies
View Related
Feb 22, 2007

This code has worked for me about 6 months now, and I havent done ANY changes at all to it. Can any of you guys think of a reason why it wont work?

The following is just en excerpt of the entire code, but the only thing thats relevant...

View 5 Replies
View Related
Jan 27, 2014

I am trying to count hours where calls are received between 8am and 5pm Mon-Fri. If just one call is received between 8am and 5pm Mon-Fri then only one hour would be counted. Calls in excess of one call in the same hour do not count more than one. So if two people called from 8am - 9am then that would equal 1 and if on call came in from 9-10 then that would also be 1. Attached is a sample output.

View 11 Replies
View Related
Aug 23, 2008

I have created a model that shows me the money that I am owed each month. However, I receive the money over a 3 month period.

Using a formula I need to determine how much I actually receive in total each month, factoring in that I receive each months revenue in three equal payments over three months.

For example

Month 1 Month 2 Month 3 Month 4 Month 5 Month 6

$A $B $C $D $E $F

In month 1, I am owed $A, but this payment will be split over 3 months.

So in month 1 I collect $A/3. In month 2, I am owed $B but this payment will also be split over 3 months so in month 2 I collect ($A/3 + $B/3), etc etc. In month 3 I collect the ($C/3) + ($B/3) + (last payment of $a/3) etc etc

How do I present this in a formula so I dont have to adjust every single column manually?

I need to follow the same structre for another scenario using 18 months as well.

View 9 Replies
View Related
Jul 12, 2013

Every week I receive a sheet of data that I need to import into my master spreadsheet. The problem is I have to adjust the data I receive to import it unless there's a better way of doing it. I'm trying to automate both the modification and the importing of this sheet. I've tried to create a macro to modify and import without any success.

To adjust the spreadsheet I receive I need to: delete or find a way to exclude the first 3 rows, the bottom row with data stating "complete" and columns C,D&E from being imported; change font, size, color, bold to match the main spreadsheet in addition to formatting; split data in column A and remove any special characters. Formatting is important because I have to be able to easily remove duplicates. Also, the number of rows in the sheet I receive changes weekly.

I've attached a workbook with sample data. The first sheet is representative of what my master looks like, the second is what I sent and the third what I've been modifying it to and then importing. As stated before, I'd like to have my master automatically update with the sheet I sent, but I'm at a loss having to reformat everything every week before importing. Having the sheet that's sent to me revised before I receive isn't an option. What's the best way to automate this?

SAMPLE1.xlsx

View 1 Replies
View Related
Apr 20, 2013

I'll use following as an example.

I work for a supermarket, I receive many fruits per day and I want to see what percentage of them are bananas, apples, oranges, watermelons etc.

Are there any templates of pie charts and bar graphs that I can use for this that will show the percentage of said fruits daily, weekly and monthly?

View 3 Replies
View Related
Jun 7, 2009

I am trying to send to multiple people so everyone sees each other received the email. How would I add other addresses?

View 2 Replies
View Related
Apr 29, 2014

I have been working on some ODBC queries in Excel 2010.

First, I recorded them using Excel's Record Macro function, to get an idea of what sort of source data I would need. Then, I rewrote them into something a little more intelligible.

Pulling out all the sensitive info, I want to know how to add the .ListObject.DisplayName property back onto the results of the query. I tried doing it intuitively, but it didn't work. It was in there when I recorded the macro, but I can't seem to figure out where to put it back into the re-written code. Other parts of the code depend on the results of the query being a 'named field'.

[Code] .....

Also, where would I find out what all that stuff in Cnnect means? DBA, APA, EXC, FEN, etc are all just assignments, and I might like to change some to make this run a bit quicker, if I knew what they meant.

View 6 Replies
View Related
Sep 15, 2009

I've sent out an excel spreadsheet to a whole load of people and some have received emails back saying that it won't open properly. It's got a form which pops up and populates two data sheets behind it.

One of the issues I've had so far is that the Microsoft Common Controls library isn't installed on some computers so the form won't work. Are there any other controls that are likely to not be installed and thus prevent the form from opening?

View 9 Replies
View Related
Nov 14, 2013

In my header I am trying to show the current page number and the total number of pages in the workbook. So if I have 10 pages in my workbook, page 5 would read "5 of 10".

I have this in my header "&[Page] of &[Pages]". All worksheets with 1 page read "1 of 1" and worksheets with 2 pages read "1 of 2" on the first page and "2 of 2" on the second page.

View 6 Replies
View Related
Jul 9, 2009

I need a formula where by i can get just number with total in front from e.g cell D2 =148513 Total and E2 should result just 148513 and leave the rest blank which does not have total.

Layout

148513

148513

148513 Total

1578972

1578972

1578972

1578972 Total

View 5 Replies
View Related
Apr 23, 2009

Col A Col B Mon Tue Wed Thu Fri Sat Sun Total

1000 Susan Y Y Y Y Y CountA(B6:B12)

899 Ted Y

1560 John Y Y

1000 Susan Y Y

etc.

I need to be able to total the number of Y for a given person

in a week as well as a total for the person over 4 weeks.

CountA works for the week But what formula would I need to count

for a specific person over 4 weeks. Col A is in random order. If the person

has no Y the answer needs to be blank and not N/A.

View 9 Replies
View Related
May 31, 2006

breeze.

Here is my situation:

X Y Z

Oct Nov Dec Jan Feb Mar Apr May Jun Jul Aug Sep

A

B

C

The above format is how I want my spreadsheet to look like. On another sheet within the workbook, I have a chart with some control options that allow me to vary X, Y, Z (I can vary either of these individually). Anytime I vary any one of X,Y,or Z, then the values in A,B,and C all change. This is what I am looking for, a Macro that will allow me the opportunity to everytime I change or vary an option (X,Y,Z), I can hit "Save Scenario" and the new values will be appended to my "Report" sheet. The values of A-C and X and Y are kept on a sheet entitled "FY 07". X is maintained on a sheet called "Inputs". So in all, X,Y, Z and A,B,C are all copied for each scenario.

View 9 Replies
View Related
Apr 3, 2014

Here it is i needed to get the total of all negative and positive value.

View 2 Replies
View Related
Aug 7, 2009

I have a table with 5 columns and approx. 85-90 rows.

Column A has the Branch name in it e.g. Beavers or Bedfont (11 Branches in total)

Column B has User Type - Adult, Child, Guest (Adult), Guest (Child), Catalogue

Column C has Session Type - Booking, Drop-In

Column D has Total Session Time (mins) - which gives a number in minutes of the total session time used

Column E is not needed

I currently get a calculator and add up e.g all of the adult Bookings for Beavers and enter them onto a Report Sheet, then all of the Adult Drop-Ins for Beavers etc. I want an Excel Spreadsheet that will give me a total number for each so I can do away with the calculator.

I am thinking of creating a new sheet with a number of cells that have a formula similar to this

=IF(AND(A2="Beavers",B2="Adult",C2="Booking"),E2,0)

But I want it to see Adult, Guest (Adult) and Catalogue as the same thing / and I want it to pick up Child and Guest (Child) as the same thing.

View 5 Replies
View Related
Apr 10, 2014

I am creating a spreadsheet for inventory use. I want to have a running total in (1) cell based upon a new/different number being entered into a different cell.

Column B, Row 1 (This will be a new/different number entered every day - inventory in or out, so positive or negative number)

Column D, Row 1 (This will be a running total based on numbers inserted in previous 2 columns)

Basically what I have is a key inventory. So there is column A with key number, B should be keys IN, C should be keys OUT, or ideally B would be IN and OUT meaning, for inventory IN input a positive number and for inventory OUT input a negative number, and D Should be total.

Column E represents number of keys currently in the inventory. I was going to hide the current inventory column so all you see is IN/OUT and total. So what I need is to be able to just come in and type in a number in the IN and/or OUT column, without having to add/subtract it with the number already in that column.

Bottom line, I'd like to be able to use IN and/or OUT columns to just type in numbers as they come and not have to worry about what's already in those columns and get correct total number.

Ok here it is. Attached worksheet shows

Column A - Key Numbers...No data value

Column B - Inventory IN

Column C - Inventory OUT

Column D - Total

Column E - Current Inventory(Starting point)

So the formula I used to get what i currently have is (=B2-C2+E2). This way whatever i input in columns C and C. totals out in D. But this way every time I want to add/subtract a number in B and C, i have to add to the number already in the column. I'd like to be able to type in a number in B and C as i go and still have a correct total. I wouldn't mind having just one column for in/out and use positive and negative numbers to differentiate inventory in or out.

View 2 Replies
View Related
Nov 30, 2009

----------A----------B---------C

1-------------------100

2--------11/29----150-------250

3--------11/29----300-------300

4-------------------200

5-------------------300

6-------------------150

7--------11/30----100-------750

Have column A with date, column B with subtotal, column C with Total. The Total (C) is made up of one to five subtotals (B). Subtotals to be included in the Total are those that come after the previous Total up to the row with a date. Only a row with a date has a Total. Is there a formula that can do this?

View 3 Replies
View Related
Jan 2, 2007

I am working on this for two days , but I got stuck on the last step. I have a roster for about 35 employees. Calculating the daily hrs was not a problem. But I am doing the roster for one week. And I want employee wise total of hrs worked. I am quite confused as the "sum" formula works for some totals and for others it does not, although all the cells are in the right format. I tried to change the "result" cell to "number" and multiply by 24 to get the hr total as a number, but it does not work.

for example "SUMIF(E1:E57,"rafik",H1:H57)" ( this is the formula for calculating hrs for "rafik" on monday. the result cell is in "hh:mm" format and gives me the right total.

Likewise upto sunday the totals are right. What I want to do is calculate the total number of hrs from mon to sun. This seems to be impossible. the formula =SUM(H60:AL60) in a dd:mm format does not work, even =SUM(H60:AL60)*24 in a "number format" does not work.

I have tried "excel help" , tried to change the format but nothing works. The result should be 52 hrs and I cant get it no matter what I do.

View 9 Replies
View Related
Jun 17, 2008

I am looking for a formula with the following conditions:The fiscal year of the business runs from December 30, 2007 to January 03, 2009

There are 13 periods in the fiscal year ending with different date ranges. For example, period 01 runs between December 30, 2007 to January 26, 2008

There may be 3 capital projects completed in Period 01, 5 in period 02, 6 in period 03 and so on

Task:

count the total number of projects from period 01 to Period 13 with the period end date restrictions for the fiscal year. The formula should be able to count the no of projects for each period individually.

View 10 Replies
View Related