DSUM Function To Pull In Data From Another Worksheet

Oct 6, 2008

I've been using the DSUM function to pull in data from another worksheet.

In brief, the problem is that when I Cut & Paste the formula from C7 to C8, I want the Column reference to change but not the Row reference.

If I copy across the Columns then the result is OK e.g. The Formula will change from

#=DSUM([HBAP_SHUTDOWNS_2008.xls]NWM_SuccessfulShutdownsByDepartment!$A$4:$E$2924,"Total",'Calculations Page'!A$17:A$18)#

To

#=DSUM([HBAP_SHUTDOWNS_2008.xls]NWM_SuccessfulShutdownsByDepartment!$A$4:$E$2924,"Total",'Calculations Page'!B$17:B$18)#.........................

View 4 Replies


ADVERTISEMENT

DSUM Function

Nov 10, 2003

I am trying to convert the following Lotus .123 function into an excel function:

@IF(@DSUM($QUERY,"TOTAL EST LBS",(((TEXT WEIGHT=50)#OR#(TEXT WEIGHT=50))#AND#GRADE NBR=20#AND#@MONTH(MFG MTH)

View 9 Replies View Related

Using If Function To Pull Data From One Cell Based On Data From Merged Cells

Jul 24, 2014

Looking for a formula to accomplish the following:

I'm trying to populate cell A31 on a worksheet titled "VolumeTotals" with the data in Cell E23 from a worksheet titled "CurrentCustomers" if the merged cells F3-F22 on worksheet "CurrentCustomers" are equal to the word "Contract".

View 6 Replies View Related

Function To Pull Out Data From One Column To Another Without Duplicates

Apr 4, 2008

Here is what i'm working with:

http://img90.imageshack.us/my.php?im...uestionas8.jpg

what i want it to do is pull out the stuff in column C and put it in column F. But i don't want it to duplicate it at all. So for instance in this case, submarket 1 would be cary-morrisville-apex / submarket 2: northwest wake / submarket 3: north wake etc.

would this involve a VLOOKUP function but an if then function as well? I'm not really sure how to go about it.

View 14 Replies View Related

VBA Function To Pull Stock Data From Website

Feb 17, 2012

I recently created a spreadsheet to calculate the value of certain stocks. I chose to do the s&p 500. It can take a while to manually get the info I need, so I looked to videos on vba writing and different solutions. I do not want to use web queries. Rather, I'd like to use a simple formula that pulls the necessary "single" item from a webpage and puts in a cell, then I will simply copy and paste that cell for all stocks.

from my online endeavors and inquiries, I put together this POS:

Function vi_Price(ByVal Symbol As String)
Dim IE As New InternetExplorer
IE.navigate "[URL]...
Do
DoEvents

[Code]...

Using Google Chrome, I tried to find the "element" that I need. In this case, the last close price at the top of the webpage. It's hard to distinguish which it is. If I can just get the code to work for the price, I think I can modify it for the other 3 items I need.

View 2 Replies View Related

Pull Data From Two Other Worksheet Per Condition.

Mar 11, 2009

The spreadsheet will be have 3 worksheets. The first worksheet will be the mastersheet (Form-01 in the attachment) that will be used as a summary/receipt for the person participating in the auction. The second worksheet will be a list of the people participating in the auction (Names) will all applicable contact info. The third worksheet will be the list of all the items for the auction (Auction Items) with all relevant information per item and a unique number for each item.
The idea is to be able to track information during the auction on the "Auction Items" worksheet, there is a column for the bidder ID of the winning bidder. Then after the auction is over and its time to settle up be able to go to the master sheet (Form-01) and enter the Bidder ID# and have the other fields auto-populate.

View 5 Replies View Related

Vlookup: Pull Data From One Worksheet To Another

May 5, 2009

I am trying to pull data from one worksheet to another. I am using Product ID numbers. The problem I am having is that not every Product ID I am searching has a partner on the second list, so I get an #N/A. In stead of #N/A I just want a "0".

my vlookup looks like this: =IF(VLOOKUP(A1,Sheet2!A5:C500,3)>0,VLOOKUP(A1,Sheet2!A5:C500,3),"0"). If A1 does not find a match on Sheet2, it returns "#N/A" when I want it to return "0".

View 5 Replies View Related

Pull Data From Another Worksheet Automatically?

Feb 27, 2014

I have a workbook, in which I will have approximately 5 worksheets. The 1st worksheet will be a summary table, which will pull data from the other 4 worksheets. These 4 sheets have data of 4 companies, thus representing 4 companies. In the 1st worksheet, I have a drop-down list that has selections for each company.

How do I make it so that when I change the selection from A company to B company, the data in the summary table will automatically pull data from corresponding worksheet? For example, if 2nd worksheet represents Apple Inc, the 3rd represents Microsoft, how do I reference from 2nd to 3rd worksheet automatically when I change my selection from Apple Inc to Microsoft in the 1st summary table sheet?

View 3 Replies View Related

Pull Out Data From Worksheet To Another Worksheet

Aug 7, 2014

I am having a problem pulling out individual data from previous worksheet (Sheet 1) to another worksheet(sheet 2, 3, 4...) individually.

For example I want to pull out the values of IP B0b/C0b Hum to another worksheet separated by each day. is there an easy way to to this using a vba code or excel formulas?

Please find attached file.

View 2 Replies View Related

Formulas To Pull Data In Various Columns Within Row 2 Of Another Worksheet

Nov 10, 2011

I need some VBA code that puts in formulas to pull data in various columns within row 2 of another worksheet.

The formulas need to be entered below some other data, which is populated from another prior macro.

The below code works well but as the prior macro can populate a different number of rows on different days, the Row count then also changes and doesn't always refer to row 2 of 'HLDRT before' tab.

ActiveCell.FormulaR1C1 = _
"=IF('HLDRT before'!R[-22]C[-18] = ""A17"",RIGHT('HLDRT before'!R-20C[14],3)&'HLDRT before'!R-20C[9]&'HLDRT before'!R-20]C[-13],"""")"

Is there a way I can tell the above code to always use row 2 from the 'HLDRT before' sheet, while keeping the column number lookups the same?

I think there is a way to do it by removing the [] signs but I can't get it to work. I also then need the macro to copy these down so I'm not sure if using $ will cause problems?

View 4 Replies View Related

Using Indirect Formula To Pull In Data From Different Worksheet

Jul 7, 2014

I am trying to use the indirect formula to pull in data from a cell in a different worksheet using the tab name as my reference. For example:

I have my tab name in cell A2, then I am using this formula to pull the information from cell g29 on the tab listed in A2, but its not working:

=INDIRECT(A2&”!”&”g29″)

Also, my tab name in cell a2 is a date, does that make any difference? I've tried a couple variations on the indirect formula and have gone from the #REF! error to the #NAME? error.

View 2 Replies View Related

Pull Data From Worksheet Based On ID Number

Nov 8, 2006

I have 2 worksheets (Sheet1 and Sheet2). Sheet 1 contains around 3000 records with multiple fields (columns). Column A contains the ID number. Sheet 2 contains some records with different fields except for the ID number which is common.

I need a macro to retrieve information from sheet1 and copy it to sheet 2 based on the ID Number; i.e the macro needs to get the ID number from sheet2, locate it in sheet1 and copy the data from column D in sheet1 for that particular record and paste it in sheet2.

View 7 Replies View Related

Pull Data From Another Worksheet When Dropdown Items Selected?

Feb 21, 2014

I am trying to create a document that runs a scenario based on the two drop down choices selected that determines which worksheet in the workbook autopopulates over to sheet one based on the selection. I tried doing an if statement but did not have any luck.

View 1 Replies View Related

Pull A Specific Time Frame Of Data From Worksheet?

Jan 17, 2014

I am trying to pull a specific time frame of data from worksheet, in a large file, into another active workbook. A fiscal month. I don't know how to at all. I figure it should be a And IF and Vlookup but do not know how to execute it all.

View 1 Replies View Related

Pull Data From A Specific Cell From A Closed Worksheet In VBA

Feb 3, 2006

How can I pull data from a specific cell from a closed worksheet in VBA?

Not sure but I think that Workbook("wb1.xls").Worksheet("Sheet1").Range("A2") only works if the worksheet is open.

View 9 Replies View Related

Pull Data From Different Worksheets With Identical Format To One Master Worksheet

Mar 6, 2014

My query is;

I have 2 different worksheets having similar format (header rows/columns) but different data (values). I need to pull out these data based on their values, means if cell is blank leave that cell and move on, but if cell has some value then pull that value with its corresponding row & column headers to place into a simple table to further use it for PivotTable. The number of rows and columns are equal in both worksheets.

So basically, the proposed function will run a check on both worksheets within a specific range of cells for their values and if not blank, it will fetch that cell value along with its relevant row header and column header and place all these attributes into the destination worksheet.

Hope I am quite clear with my query. with the required function to ease my life?

View 4 Replies View Related

Lookup: Pull Any Color Choices Associated With A Year From The Data Table On The First Worksheet

Jun 17, 2009

I have a data table that contains begin dates, end dates, and colors. The data is input starting with the earliest begin date. On a second worksheet, I have a listing of the years starting with the year of the first begin date and ending with the end of this year. I need to be able to pull any color choices associated with a year from the data table on the first worksheet. Some years may not be specifically listed in the data sheet as the person could have had the same color choice for several years. Sometimes a person could have more than one color choice in a year.

I am at a loss for how to get to the data I need. I created an example spreadsheet to demonstrate the data I am working with, and an example of what I need my results to look like in the end.

View 5 Replies View Related

Excel 2007 :: Pull Data Into A Cell From Another Worksheet That Has Conditional Formatting?

Jul 20, 2012

I have a Workbook (Test 1) with several columns A-S. I'd like to be able to continue to add data into Test 1, and have some of the data pulled into a new Workbook (Test 2). Basically pulling data from Test 1, cols. D, L, J, E, I, C, K, Q and S - into the new workbook Test 2.

Some of the columns in Test 1 have conditional formatting and data validations, but I need the data in these columns to be replicated into Test 2 - without having to copy/paste between the 2 workbooks.

I figured how to do this in Excel 2010, but my office is still using 2007 and I can't seem to get it to work....

View 1 Replies View Related

DSUM Multiple Criteria - Return Data

May 22, 2014

I have attached a very simple model of a much larger BI report that we use. I have written a DSUM that returns the correct result in all cases other than when one of the criteria columns is blank. When one or more columns is blank, the result returned is 0 whereas I need it return all data (for e.g. if you remove "sains" from cell B2, I need it to still return data for person "b", "c" and "d" (i.e. 51 for Mar14)).

Attached File : DSUM (2).xlsx‎

View 3 Replies View Related

Pull Sheet Name From Vlookup Function

Feb 14, 2008

I have a vlookup formula which can refer to any one of several sheets labelled by month.

I need to be able to show in a different cell which sheet (month) the formula refers to.
In other words - displaying part of a formula in a different cell.

View 3 Replies View Related

How To Run Countif Function On Worksheet To Make Table Of Raw Data

Jan 11, 2013

I am trying to run a countif function on another worksheet to make a table of raw data.

Look on sheet SC-01 in Column H for "No" and return the count...pretty simple

Code:

=COUNTIF('SC-01'!$H:$H,"No")

What I need it to do is determin the sheet name based on the string in the column A

Control Countif Function
SC-01
4
SC-02
SC-04
SC-05
SC-06

I have tried various combos of Indirect and concatenate, but I keep getting a ref error.

View 2 Replies View Related

Pull In Address From Another Worksheet

Jul 31, 2006

I have two worksheets. The first is a master listing of all stores for a
certain client. They are all assigned a store number. The second sheet is a
list of all invoices, I need to be able to type in the store number and it
pull up the street address, city, state and zip, all in different columns.

View 11 Replies View Related

Pull Web Page Into Worksheet

Jun 15, 2007

Can you use something like that to pull "All the text" from that URL back to Excel (like in Select All, Copy, PasteSpecial) rather than using SendKeys? The existing URL listed in your Test Sub would be fine to use in the example. If so, could you please modify the Test Sub code to show the code?

View 5 Replies View Related

Formula / Function To Pull In Multiple Lookup Values

Aug 21, 2014

I am trying to replicate a payslip from a list of data on a worksheet.

The list of data contains the employee name, location they worked, and number of hours.

Each employee will work at multiple locations throughout the month, perhaps 10 or so.

The payslip must contain each location worked along with the relevant data, in a list so to speak.

What function can I use to pull this in? Of course if it were one location I would use vlookups to pull in data. As this only returns the top match I would then need a different formula to pull in the second location in the cell underneath?

View 6 Replies View Related

Pull Certain Info From One Worksheet To Another Only Containing Certain Values?

Jun 11, 2013

I don't really know how to search this question but what I am trying to do is pull information from one worksheet to another only containing numbers greater than 0. For example, i have an order sheet containing everything that is in stock, then I go down the list and put in the number of items being sold (1,2,3, etc). Some items will have a value of zero.

Then the items that have numbers (the ones that are being sold) I want to be able to pull these numbers along with the item description onto another worksheet which will be the invoice. Then excel will add up the prices of only the items being sold and give me a total value on the invoice. Is this doable?

View 9 Replies View Related

Pull Info From 1 Worksheet Into Another - Not A One-to-one Relationship

Mar 5, 2009

I have one worksheet with 238 rows and another with 163 rows. I want to pull information into the sheet with 238 rows whenever there is a match to a record in the 163 rows. I tried VLookup, but as soon as it gets to a record in the 238 that doesn't exist in the 163 it gives errrors and stops. I've looked at =offset and =offset(match) but I'm not finding anything that deals with the situation of not always being a one-to-one (or even one-to many) relationship. Ultimately I want to pull the Category & Project fields into the records matching on IDNumb in Sheet 1 but Sheet 1 has more records than Sheet2. example......

View 5 Replies View Related

Pull Information From Worksheet To Outlook

Aug 12, 2009

I want to setup an excel spreadsheet that will list employees and when exams were completed on them. The exams need to be completed once a year. I want the excel spreadsheet to send out an email to their corresponding supervisors when is within one month or so of an exam needing to be completed so their exam can be scheduled accordingly.

I have searched this forum and read through some of the other posts regarding exporting data from excel to outlook. This seems like what I need to do but I wanted to see if anyone has an advice on what way is better than the other?

Also, if excel is setup to push the data to outlook, does the excel file need to be open? In other words if Jimmy comes within one month of his exam but no one opens the excel file will it send out the email to outlook?

Is it a better option/ or possibility to have Outlook pull/check to see if the condition exists where an employee is within a month of his exam and then let the supervisor know?

View 2 Replies View Related

V-lookup To Pull Information From One Worksheet To Another

Dec 9, 2009

I'm using a v-lookup to pull information from one worksheet to another. I know that each of the cells has a match on the second sheet, but the calcuation is resulting in a Value Not Available error. The only way I've figured out to get past the error is to go into each cell, hit F2 and then enter.

View 2 Replies View Related

Pull Details Of Each Person From Another Worksheet

Sep 21, 2007

I have worksheet 1 which calculates a member's pension which is based on his date of joining a scheme, date of leaving, salary and yearly contributions paid into the scheme. Normally I would input these details manually but now I have a large number of members to produce figs for. These members' details will be on worksheet 2 with a separate row for each member's details. I want excel to process each member one by one and enter his details in worksheet 2 on the calculation worksheet 1 and put the results in worksheet 3. Is this possible? And how???

View 8 Replies View Related

Excel 2010 :: Freezes When Using Pull Function In INDEX / MATCH

Feb 14, 2014

I am using Excel 2010.

My objective is to pull specific values from an external file corresponding to the correct name and year of my choosing. The first way I thought would be best is to use an INDEX/MATCH function. The problem is the external files change names so I would need a method to easily change the source file name from one cell. I then stumbled across the INDIRECT function, but the INDIRECT function will only work when the source file is also opened. I then came across Harlan Grove's pull function which allows you to import data from closed excel files.

So, this is what my formula looks like: =INDEX(pull("'"&G12&"");MATCH(C15;pull("'"&G14&"");0);MATCH(D15;pull("'"&G16&"");0))

Cells G12,G14, and G16 contain the file paths for the ranges. C15 is name and D15 is year.

The problem I have though is that when I try to execute the function, Excel gets stuck. if the code cannot handle large amounts of data. I tested the code with a simple SUM function for a small range from an external file and it worked just fine.

This is the code I am using:

[Code] ...

View 3 Replies View Related







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