Reversing a Formula to specify where data is placed?

hazmat

New Member
Joined
Jun 14, 2019
Messages
39
Office Version
  1. 2016
Platform
  1. Windows
Not sure if my thread title is correct, but this is what i would like to do, and have no idea where to even start.

I have 2 sheets in same workbook (pic below)
I have the following formula in Sheet 1, Column A to create a new list, from Sheet 2, Column A, that puts the blanks cells at bottom as shown.
Excel Formula:
{=IFERROR(INDEX(Sheet2!$A$2:$A$31,SMALL(IF(Sheet2!$A$2:$A$31<>"",ROW(Sheet2!$A$2:$A$31)-ROW(Sheet2!$A$2)+1),ROWS(Sheet2!$A$2:$A2))),"")}
If a date is entered in Sheet 1 Column B, next to a Name (or Names), I need that Date placed in the proper cell In Sheet 2 Column B.
So, for example, If the user enters a date next to Name9 in Sheet 1, (Cell B4), that date will automatically be placed next to Name9 in Sheet 2, (Cell B10)
Thanks for any and all help
Example.png
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
What version of Excel are you using?

If 365, I would use XLOOKUP, older versions VLOOKUP
 
Upvote 0
Upvote 0
Solution
What version of Excel are you using?

I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)
 
Upvote 0
@Snakehips
Thanks. That gets me half way there.
I should have stated that when a date is entered in Sheet 1 Column B, the list in Column A will be reorganized.
Since my original question is only a piece of the overall puzzle, I am going to apply your formula to my project and see where I stand, and if i can figure out what I ultimately need to happen. Most likely I will be coming back here with more questions.

Also, What is the formula in cells B34:B35 doing? It doesn't seem to make any difference whether its there or not.

@Fluff Version and Platform updated
 
Upvote 0
Thanks. That gets me half way there.
I should have stated that when a date is entered in Sheet 1 Column B, the list in Column A will be reorganized.
Since my original question is only a piece of the overall puzzle, I am going to apply your formula to my project and see where I stand, and if i can figure out what I ultimately need to happen. Most likely I will be coming back here with more questions.
(y)
Also, What is the formula in cells B34:B35 doing? It doesn't seem to make any difference whether its there or not.
Unrelated formulas copied in error. Just delete
 
Upvote 0

Forum statistics

Threads
1,224,811
Messages
6,181,081
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top