Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 03-10-2018, 04:02 PM
takamaz takamaz is offline Filling a formula down a column where only one cell value referenced changes? Mac OS X Filling a formula down a column where only one cell value referenced changes? Office 2016 for Mac
Novice
Filling a formula down a column where only one cell value referenced changes?
 
Join Date: Feb 2018
Posts: 8
takamaz is on a distinguished road
Default Filling a formula down a column where only one cell value referenced changes?

I have a workbook where, in Sheet 2, I have a macro setup to copy several columns of data from Sheet 1. I then need to add several more columns of data to that data. The data that will fill in the remaining columns is in Sheet 3, so the formula is this:



=IF(AK3=Sheet2!A1,Sheet2!B1,IF(AK3=Sheet2!A2,Sheet 2!B2,IF(AK3=Sheet2!A3,Sheet2!B3,"")))

Is there a way to easily copy this formula to the rest of the column where it continues to compare the value on Sheet2 in column AK, but pull information from the same places in sheet 3? Does that question make sense? I need the formula in the next row to read:

=IF(AK4=Sheet2!A1,Sheet2!B1,IF(AK4=Sheet2!A2,Sheet 2!B2,IF(AK4=Sheet2!A3,Sheet2!B3,"")))

So that the only things changed is AK3 becomes AK4. This sheet has over 1800 rows, so I don't want to have to manually do this.


----------------------
So, I have found one way to do this, that involves putting the references I am trying to bring into the sheet inside quotes, filling the function down the page, and then use Find & Replace to remove the quotes, but I still think there must be a better way.

Additionally, Maybe there is another way to do this whole operation. I'm essentially wanting to pull column B from sheet 3, when column AK in sheet 2 is equal to column A in sheet 3. Essentially: IF(AK=Sheet3 Column A) then I want Sheet 3 Column B

Last edited by takamaz; 03-11-2018 at 08:09 AM. Reason: New Information
Reply With Quote
  #2  
Old 03-11-2018, 08:52 AM
NoSparks NoSparks is offline Filling a formula down a column where only one cell value referenced changes? Windows 7 64bit Filling a formula down a column where only one cell value referenced changes? Office 2010 64bit
Excel Hobbyist
 
Join Date: Nov 2013
Location: British Columbia, Canada
Posts: 831
NoSparks is just really niceNoSparks is just really niceNoSparks is just really niceNoSparks is just really niceNoSparks is just really nice
Default

Have you tried using Absolute Cell References where necessary in the formula and dragging or double-clicking the drag handle ?
Reply With Quote
  #3  
Old 03-11-2018, 08:56 AM
takamaz takamaz is offline Filling a formula down a column where only one cell value referenced changes? Mac OS X Filling a formula down a column where only one cell value referenced changes? Office 2016 for Mac
Novice
Filling a formula down a column where only one cell value referenced changes?
 
Join Date: Feb 2018
Posts: 8
takamaz is on a distinguished road
Default Thanks

I don't have time to try it out this morning, but that looks like exactly what I need. Thanks very much.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
formula help - value in cell looking up row and column using great than less than stefano Excel 3 10-20-2017 02:20 PM
Filling a formula down a column where only one cell value referenced changes? Entering a column value in a cell, to be used as part of a reference in a formula in another cell paulkaye Excel 4 02-26-2017 04:18 AM
Filling a formula down a column where only one cell value referenced changes? What formula can I use to find the lowest cell in a column that has a value in it? EddyWD Excel 3 04-20-2016 09:29 PM
Formula to hide '0' from blank referenced cells formuladummy Excel 3 05-08-2014 02:33 AM
Filling a formula down a column where only one cell value referenced changes? column of data referenced to multiple grids on another sheet zorniac Excel 1 11-15-2013 10:19 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 02:23 AM.


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