Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 09-04-2013, 06:37 AM
BobBridges's Avatar
BobBridges BobBridges is offline Counting Number of Months from a static date Windows 7 64bit Counting Number of Months from a static date Office 2010 32bit
Expert
 
Join Date: May 2013
Location: USA
Posts: 700
BobBridges has a spectacular aura aboutBobBridges has a spectacular aura about
Default

Ah, that's so easy you're going to kick yourself:
Code:
=SUMIF(Sheet2!A:A,B3,Sheet2!B:B)/Sheet2!H1
Any time you're not sure of the syntax of the addressing to another location (another sheet, in this case, or even another workbook), you can get Excel to tell you. Here's one way:
1) Select Sheet1 C3, which already has the SUMIF function laid out.
2) Hit <F2> to start editing the formula.
3) Type in the '/' for division. Do not hit <Enter> yet.
4) Navigate to Sheet2 and select H1. Note that Excel has now added the address for that cell to the formula bar.
5) Hit <Enter>.

Now you can copy the new formula to the rest of the cells on Sheet1!C:C. Oh, wait, your worksheet already does that; why? And I see I should have specified ".../Sheet2!H$1". Anyway, you can use that method to see how Excel handles lookups not only on other worksheets but on external workbooks as well.

Last edited by BobBridges; 09-04-2013 at 06:51 AM. Reason: Typo
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Counting Number of Months from a static date Number and date formatting dmarie123 Word VBA 5 02-28-2013 03:10 PM
Counting Number of Months from a static date Converting serial number to years, months and days hannu Excel 6 02-14-2013 09:21 PM
Counting Number of Months from a static date Adding months to a Date tsindos Word 4 10-04-2011 11:20 PM
Setting up recurring months to skip some months etc. dwelch@ykfireprevention.c Outlook 0 11-30-2010 10:15 AM
Help needed using the serial number date with sumifs - whole office is stumped FraserKitchell Excel 3 01-06-2010 12:24 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:42 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft