Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 04-29-2014, 02:16 PM
gebobs gebobs is offline Copying a Changing cell value to one cell Windows 7 64bit Copying a Changing cell value to one cell Office 2010 64bit
Expert
 
Join Date: Mar 2014
Location: Atlanta
Posts: 837
gebobs has a spectacular aura aboutgebobs has a spectacular aura about
Default

Not knowing much about the structure of your sheet other than what I've been able to decipher from your post, here's my first stab at it...

If the headings of your columns (i.e. row 1) are dates, you can do an HLOOKUP:

=HLOOKUP(DATE(YEAR(NOW()),MONTH(NOW())-1,1),C1:N9,9,FALSE)

Basically, the HLOOKUP looks for the date that is one month previous to now. Of course, this won't work so well when it's January and it looks for a month=0.

Attached is test.xlsx illustrating how this is done.
Attached Files
File Type: xlsx test.xlsx (9.3 KB, 8 views)
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Copying data from one cell to another where condition is third cell fairyca Excel 4 03-30-2014 08:22 AM
Changing Cell address within a formula vermont_past Excel 12 09-21-2012 12:15 PM
Copying part of a cell to a new cell paulw793 Excel 7 01-27-2012 10:46 AM
Copying a Changing cell value to one cell Copying data from one cell to another automatically mrphilk Excel 4 06-10-2010 11:52 PM
Copying a Changing cell value to one cell Code for Changing Cell Backgrounds leroytrolley Excel 2 12-05-2008 02:05 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:11 AM.


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