Summing The Data From Two Sets?

Jan 21, 2010

I’m trying to get the total number of participants in two different sets, with selection criteria attached to both (I’ve attached an excel file, as the example with those scoring +ve highlighted in yellow). The first set A (b1:b15) I want to select all values above 5, and the second B (c1:c15) set above 10. There other provisor, is that the A and B are further split into two groups (one above and one below 20).

In summary, I need to count all the A>5, B>10 (And both have to be above 20 in column D), but not to double count the ones that have Both A>5 and B>10. I don’t want any duplicates to be counted, so summing the total of A and adding it to B won’t work. In essence it’s an attempt to use the A Union B function that you’d observe when using venn diagrams.

Is there a simple way/formula of doing this?

View 13 Replies


ADVERTISEMENT

Differencing Sets Of Numbers, Multiplying, And Summing

Sep 1, 2008

I'd like automate consists of entering 56 numbers (up to 3 digits, 000-999) and finding the difference between today's numbers and yesterday's numbers. Then multiplying each difference by a set number (i.e. 1, 2, 3, 5, 10, 20, or 25). These numbers may, from time to time change (i.e. the 32nd entered number may be multiplied by 3 for 2 months, then we might swap out a product and then need to multiply by 5, etc). At the end, I need all 56 differences multiplied by their individual respective multipliers totaled. This needs to be done daily using previous days numbers and be able to change the multiplier without effective previous data.

I was trying to to this myself by Column 1 = multipliers, Column 2 = yesterdays' numbers and Column 3 = today's numbers. The calcualtions are done by excel and a total is summed. This I can do. However, each day i'd need to make a new file and enter yesterday's and today's numbers. This is time consuming. I'd like a system where I can just entere today's numbers and any changes to the multiplier and it will spit out the total.

If anyone can guide me or point me in any direction to accomplish this automation. I would greatly appreciate it. I'm pretty computer savvy, but just have not had the time to dwell into Excel.

For those interested in what this is for: I have a small business that sells instant lottery tickets. Each day we have to figure out the number of tickets sold the previous day. We have a notebook and manually write down numbers, do the substractions by a calculator and total. The table in the notebook is seperated by ticket values (i.e. $1 tickets, $5 tickets, etc). However, certain tickets run out or occasionally we need to move tickets to a different spot, thus the MULTIPLIER in the automated system would need to change.

View 12 Replies View Related

To Insert Down Between Sets Then Border Sets

Apr 10, 2008

Below is a series of sets. Column A is the set number. I need a macro that will insert a row between sets and then put a border around each set. In my spreadsheet the sets are from A1:C500. Sometimes the sets are only 1 row, sometimes multiple rows. It looks like I will be doing one of these sheets every week. So far I have been doing it manually, but a macro sure would save some time.

View 13 Replies View Related

Excel 2003 :: Match Two Sets Of Data And Display Specific Data?

May 12, 2012

I have two separate worksheets:

I'm trying to find a formula that looks at Column A on both sheets (each client is allocated a unique number) and if they match enter in column D of the referral sheet the month they were seen but only if it is a 1st contact (appt type on column D of contact sheet)

Referral
A
B
C

[Code]....

way to do the calculation using Excel 2003

View 9 Replies View Related

Finding Matches Between Two Sets Of Data - Each Set Has Three Columns Of Data

Jul 13, 2013

I am working on large sets of data (more than 50,000 rows of data). I have two sets of data. Set 1 and Set 2 (master data) on the same worksheet. Both the sets of data have three columns each. I am using EXCEL 2007. I was able to accomplish step 1 below.. but I am totally lost with step 2 since i have an additional criteria for the "year".

I have attached the excel sheet as well. This is what I am trying to accomplish:

1) I want to find exact matches in set 1 and set 2 and highlight it or do something to show that a match was found. The challenge is the data in set 1 can occur anywhere in set 2.

2) Add to the complication .. my criteria for matching the year is different. If the Set 1 "year" is equal to or greater by 1 yr or greater by 2 yr when compared to Set 2 "year", I want to treat it as a "match".

For example, from the data attached:

Set 1 data in row 4 is: ATLANTIC ABSECON 2004
Set 2 data in row 3 is: ATLANTIC ABSECON 2003

I want to treat these two data as "MATCH" since ATLANTIC matches ATLANTIC, ABSECON matches ABSECON and according to one of my criteria for year, Set 1 "year" is greater by 1 yr than the Set 2 "year".

View 1 Replies View Related

Vlookup To Compare Two Sets Of Data And Change The First Set Of Data If It Is Than The First

Oct 5, 2009

I have tried nested ifs and vlookup to compare two sets of data and change the first set of data if it is than the first. But leave it alone if it either is the same or does not exist in the new set of data. It sometimes seems to work but i find it is not consistant. It looks simple but i think i am missing something.

if column A has identifiers and column B has results then it should work if the identifiers in column C are found in column A and it looks to see if column B and D are the same, then change B if different but leave it if either it is the same or not there.

A
code1
B
36
C
code1
D 33

View 9 Replies View Related

Combine To Sets Of Data?

Jul 8, 2014

I have two sets of data for students. One set contains all the students with certain test scores, taking up columns A to N. The other set contains about 80% of those same students with a different set of test scores. Students are sorted by ID numbers. How do I combine the second set into columns O to V so that student ID numbers match and it inputs the rest of the student data into the sheet.

I know there will be some blanks because not all students will be there but I need them to match up, even with the blanks.

View 2 Replies View Related

Matching Sets Of Data?

Jul 10, 2014

I created a macro that extracts two columns of numbers from one workbook and need to match them to another set of numbers in another workbook. For instance i have numbers like...

18314 907
18272 64
11005 907
11005 324

..Now i need to match these numbers up with the others to find the hyperlink associated with them.

View 5 Replies View Related

Match Up Data From Two Different Sets?

Nov 8, 2013

I'm attempting to create a mailing list for the company I work for, but the software that has the data record is very limiting. The two tables I received from the program are listed:

Customer
Number of Sales

name 1
#

name 2
#

name 3

I tried to illustrate that the address list has a different customer composition than the sales list; the address list has customers that the sales list doesn't have. This means I can't just sort alphabetically and drag the addresses over. My goal here is to create a datasheet that incorporates both the address and number of sales so that we can send the top 500 customers a mailing. How can I do this?

View 2 Replies View Related

3 Sets Of Data Into 1 Sheet

Apr 1, 2014

I have 3 seperate tabs of data that i want to put into a combined sheet, how would i do this, i assume it's just like a copy/paste exercise but not sure how to do this using VBA?

My tab names are;

FND Data
UL Data
Life data

I just need the entire range copying from each tab into the 'Combined' tab

View 5 Replies View Related

Delete The Whole Row In All Sets Of Data

Dec 13, 2009

In the attached workbook, I have identical sets of data in column A separated by an blank cells. I need a macro for user form that searches for an item indicated in the textbox of the form and then delete the whole row in all sets of data.

It is important to keep the blank cells between the sets constant, 4 blank cells between each set, except the first set that starts with 3 blank cells.

View 2 Replies View Related

Reconcile Two Sets Of Data

Dec 6, 2006

I manually reconcile two sets of data every month by sorting by PO# and then manually matching up the onse that are the same and then calculate if there is a variance in $ amount.

The 1st set of data is a list of invoice PO#'s and invoice $ amounts and the 2nd set of data is order PO#'s and order $ amounts. What I need to do is reconcile the orders to the invoices by PO#. It is very common to have a PO# on each list but have a different $ amount and I only need to know what the difference is between the order amount and the invoiced amount. I also need to know what is on the invoice list and not on the order list and vise versa....

View 10 Replies View Related

Comparing 2 Sets Of Data ...

Feb 23, 2009

I am wondering if it is better to do this in excel or access. I am pretty familiar with access...i know this would be easy to do if querying from one table and doing a relationship between identifier, but i'm not sure how to capture data from both tables. But basically this is what I want. I have 2 files, which have identifiers and share amounts...both files will have some like identifiers, some not alike...basically this is what I want to do: ....

View 9 Replies View Related

Comparing Two Sets Of Data

Aug 28, 2009

I'm trying to compare two sets of data on the same sheet. Each set has 4 columns...A - D and F - I. I would like to take the data from D and I (range 20 to 50) and compare them to see if any differences exist in the two columns. If there is something different I would like to bold and highlight the cells (A-D) in that row, and the same goes for the second set of data (F-I).

I'm trying to do this with macros so I can add it into my existing code.

View 9 Replies View Related

Compare 2 Sets Of Data Each With 2 Columns?

Nov 10, 2013

I have 2 sets of data/array/range. Each set consists of 2 columns with a large number of rows.

I want to compare my 2nd data to a master data. And list if anything is different in 2nd set of data from master set in column A than highlight the difference or copy the value to another place.

Also want to compare the 2nd column if column A was same and consider both column A and column B for that associated row different if column B is different.

The trouble for me comes in because the list is never alphabetical (sort doesnt work cause of funky naming) and never of the same size.

Attached is a photo of an example for maybe an clearer understanding. Also attached an example excel sheet I tried it within excel but cant seem to figure out how to look also for the 2nd column, so im trying to avoid the within excel route and go using vba ...

T3OCcxw.jpg
example.xlsx

I attempted it with a very basic code thats not working =/ just cant seem to figure how to code to get the desired result

VB:
Sub matchdiff()
Dim cell As Range
Dim found As Range

[Code].....

View 1 Replies View Related

Summarizing Sets Of Data (sumif?)

Jul 8, 2009

Sheet1 contains a large set of data, including a date and a corresponding value.

Sheet2 (Summary) has a column called "Begin Date" and a column called "End Date". How can I use a formula to sum every piece of data that fits within the two dates?

View 5 Replies View Related

Comparing 2 Sets Of Data :: Zip Codes

Oct 28, 2009

I am trying to compare two sets of data.

I have a set of All zip codes in 10 counties in one worksheet:

ex:

Column 1 / Column 2
30303 / Fulton
30307 / Fulton
30310 / DeKalb
30234 / Cobb

But this sheet has about 300 zip codes

Then in a second worksheet I have dollars by zip

30303 / $10,000
30456 / $56,000

I'd like to make a third column in this sheet that fills in what county. Does anyone know how to search sheet one for the appropriate zip, then stick the word beside that zip into the column 3 secion of the dollars by zip code?

I'd rather not have to search every zip code in the dollars section one at a time. Not all the zip codes in the state are represented in the second sheet, so it's not quite as simple as just lining them up.

View 13 Replies View Related

How To Graph 2 Sets Of Data For Each Participant

Apr 3, 2013

Create one X-Y SCATTER graph (with Smooth Lines and Markers) with the Average Movement Time (MT) on the Y axis and the Index of Difficulty (ID) on the X axis for each group member during STATION 1: PAPER BASED VERSION OF FITTS' RECIPROCAL TAPPING TASK and STATION 4: PAPER BASED VERSION OF FITTS' RECIPROCAL TAPPING TASK: WEIGHTED

ID stands for index of difficulty, the graph is supposed to indicate that as the index of difficulty increases (3) movement time increases and as it decreases (2) movement time decreases.

Lab 8 Data Q 4 attempt.xlsx‎

View 5 Replies View Related

Lookup From Horizontal Sets Of Data?

Nov 9, 2011

I have horizontal records of data , datewise, if i need to find output for a particular date what should be formula, for instance for 1/21/2011 output is 135 nad for 1/15/2011 is 400. I need a formula wherein if i put the date it should throw the output of the same.

1/10/20111/11/20111/12/20111/13/20111/14/20111/15/20111002001501203004001/16/20111/17/20111/18/20111/19/20111/20/20111/21/20116075901051201351/22/20111/23/20111/24/20111/25/20111/26/20111/27/2011253545556575

View 3 Replies View Related

Sorting Multiple Sets Of Data

Aug 22, 2012

Create a macro or some other solution to sorting my data. Just clicking on Sort Ascending isn't good enough because it'll sort everything and remove the empty rows. However, I want the empty rows to stay there. The way that I've been doing this is manually. Basically, after the empty rows were inserted, I'd click on a cell in Column A and click on Sort Ascending, then I'd scroll down and click on the next set of data and click on Sort Ascending, then the next set and the next. I'd end up having to do this hundreds of times.

I've uploaded an example of what I'm talking about, I also labeled the tabs as "I want this" and "to look like this":

Example file.xls

View 5 Replies View Related

Comparing Two Similar Sets Of Data

Apr 30, 2014

I've got a pretty tough problem I need to solve with excel. So im comparing prices of products from 2 Different Sources, I need the best method of comparing these sets of data. Realistically I need both sets of data to compare and move automatically (or create duplicates elsewhere) to show the product ID, Price A and Price B.

Here's an example

Supplier A
Cheese Grater: 39.99
Golden Spoon: 129.99

Supplier B
Cheese Grater: 59.99
Golden Spoon: 89.99

These values will then combine to read

Supplier A Supplier B
Cheese Grater: 39.99 59.99
Golden Spoon: 59.99 89.99

Not sure if it will matter but both lists are not identical, all I want are the matches not the ones unique to different suppliers.

This comparison list is like 12,000 products long, I'll never be able to do it manually. This has stumped me for a while now I only seem to be able to find formulas which give TRUE / FALSE or Colour changes.

View 1 Replies View Related

Formatting Cells From Two Sets Of Data.

Jul 8, 2008

I have a few rather large spreadsheets full of addresses, but for simplicity I'll refer to two(Group A, Group B). I can go back and edit accordingly. Group A is a master list of users. After sending out a mass message, using Group A, certain users weren't able to receive the message for various reasons (address problems, spam filters, etc.)--thus Group B. All of the users of Group B are still in the Group A spreadsheet, and this is where my problem comes in.

I need to take all of the entries from Group B, find them in Group A and change their cell colors (along with a few following cells in the same row). I tried to record a macro to do this, but found that a more in depth solution was required. I tried to implement some VBA but my knowledge is, at best, limited.

Here's what I've done so far:
Before recording the macro I copied/pasted the addresses from Group B onto the bottom (a few cells down) of Group A.

I copied the first Group B address, started to record, and pasted the first address into the Find tool. After it was found, I changed the color of the needed cells, went back to the list of Group B cells and deleted the top entry. Next, I copied the second entry (the new first entry) and stopped recording.

When I pressed the shortcut key for the macro, it deleted all the cells correctly; it just didn't format Group A like I intended. I then opened up the VBA editor within excel and found this:

Sub Colorfill()
Range("A4559").Select
Selection.Copy
Cells.Find(What:="USERADDRESS", After:=ActiveCell, LookIn:=xlFormulas _
, LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, _
MatchCase:=False).Activate
Range("A2038:I2038").Select
With Selection.Interior
.ColorIndex = 43
.Pattern = xlSolid
End With
ActiveWindow.ScrollRow = 4349
ActiveWindow.SmallScroll Down:=186
ActiveWindow.LargeScroll Down:=-2
ActiveWindow.ScrollRow = 1508
ActiveWindow.SmallScroll Down:=198
ActiveWindow.ScrollRow = 4569
ActiveWindow.SmallScroll Down:=-27
Rows("4559:4559").Select
Selection.Delete Shift:=xlUp
End Sub

View 9 Replies View Related

Match Data Sets For Output

Aug 26, 2007

I am presently doing one of my work in excel manually. I m not expert user VBA. Yes, I do understand codes, but not very good at developing. I am attaching a file which has all the requirements in details. I think this will require hell lot of programming skill, which I dont posses.

View 7 Replies View Related

Find All Possible Combinations From Data Sets

Jan 29, 2008

i found this vb code the other day on this forum from a post made way back in 2005 i think it was. I've found it really useful for what i wanted to do, but i wonder if it can be expanded or changed to allow for more sets of imformation.

This is the Code, it finds all possible combinations from 3 sets of 3 results.

Option Explicit ...

View 8 Replies View Related

How To Sort 2 Sets Of Data With Dates To Correlate Each Other

Jun 30, 2009

i got 2 sets of data, but the dates are not correlated

For e.g.

3/18/199610 3/18/199613.5
3/19/199610.1253/19/199614
3/20/199610.1253/22/199614
3/21/199610.25 3/25/199614.0625
3/22/199610.25 3/26/199613.25
3/25/199610.25 3/27/199613.1875
3/27/199610.25 3/28/199613.125
3/28/199610.25 3/29/199613.5
3/29/199610.25 4/2/199613.625
4/1/199610.3754/4/199613.8125

as u can see the dates jump here and there

is there anyway that i can sort it out so that the dates would correlate to each other on the same rows?

if its possible, i have like 16 sets of data to correlate, how do i do it?

View 10 Replies View Related

Code To Apply Calculation To Different Sets Of Data

Mar 5, 2013

I have an excel spreadsheet that performs a particular calculations using a large set of data. However, I have over 1000 sets of data that need to be feed into this sheet and obtain the output calculation. Obviously I don't want to have to copy and paste in each new set of data to obtain my result as this would take a very long time. I am brand new to VBA, so was wondering if there is a way to write code in VBA that will automatically perform these calculations for one data set, save the output into a cell, and then move to the next data set and so on?

View 4 Replies View Related

Several Sets Of Data All Which Link To Seperate Charts

Feb 9, 2009

I've got several sets of data all which link to seperate charts, the problem i'm having is that i dont want the chart to display the fields with zero values and with the amount of charts and data it is taking ages to re-source the data is there a way of getting the chart to ignore zero fields or of somehow sorting the data in a way only fields with values are shown

View 9 Replies View Related

Find Intercept For Nonlinear Data Sets

Nov 15, 2006

I have time (T) as a common variable located in cells A1:A9000. I also have two large data sets in columns B and C (cells B1:B9000 and C1:C9000). If I put them into an X,Y Scatter chart it is easy to see that at some point in time (perhaps around cell A3000) the slope in data set B will begin to rise and eventually the two curves will cross. I would like to find the intercept point and/or an estimate of that point (if it does not exist in the data set) and have the corresponding time reported in a set cell.

View 4 Replies View Related

Compare 2 Sets Of Data To Change The Values

Sep 5, 2007

I am a absolute newbie to VBA, I've got 2 timetables, they show deliveries for different countries. I need to make my code as DYNAMIC as I can. TableCustomer shows the customer's name, country and their opening times, Saturday - Friday, it uses 1s and 0s to determine if they are open or closed, 1 = open, 0 = closed, so the headers are: Customer Name, Country, Saturday, Sunday, Monday, Tuesday, Wednesday etc.

TableCompany shows the days of deliveries made to each country by the company, using 1s and 0s, 1 = Deliver, 0 = Don't deliver. The headers are Country, Saturday, Sunday, Monday, Tuesday, Wednesday etc. An example here is that, if in TableCustomer, the customer is opened(1) on a Saturday, but in TableCompany, the company does not deliver(0) to that country on the Saturday, change that 1 into a 0 in TableCustomer. But if the Customer is closed(0) on the Saturday, then don't change the value 0, because the company will not be able to deliver to them anyway, even if they can deliver to that country on that day.

View 3 Replies View Related

Build Graph That Compares 2 Sets Of Data But Only Plots 1 Dot?

Apr 17, 2014

I would like to build a graph that compares 2 sets of data but only plots 1 dot where the two intersect. I have seen this graph made by others in Excel but I do not know what it is called or how to make it. An example data set is below.

ID Age Height (cm)
1 5 125
2 7 140
3 8 138
4 11 152

I would just like to plot the location where the age and height for the ID's cross and not 4 plots with the age and 4 plots with the height.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved