two formulas needed

SplatP1

Board Regular
Joined
Jun 15, 2010
Messages
69
Office Version
  1. 365
Platform
  1. Windows
Hello,

I'll try my best to explain this:
First formula needed in Sheet1 cell A2: If Sheet1 cell B2 = Sheet2 cell B2 then return a 1. If not then return a 0.
Second formula needed in Sheet3 cell A1: Copy all the rows of Sheet1 that have a 1 in A:A. Preferably with no empty rows in Sheet3, just the data list.

This is driving me nuts, so any help is really appreciated.
Cheers.
 
Ok paste here what is in both the master worksheet range A2:A10 and the dash worksheet range A2:A10.
 
Upvote 0

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
here are both sheets.
Changing the dropdown in Dash! changes the value in A:A of report_master. This works great.
Now I need only the rows with a "1" in A:A shown in report_master! to be shown in sheet 3
 

Attachments

  • first.JPG
    first.JPG
    78.9 KB · Views: 7
  • second.JPG
    second.JPG
    29.1 KB · Views: 7
Upvote 0
Ah ok so try this:

=IFERROR(INDEX(report_master!C$2:C$10,SMALL(IF(report_master!$B$2:$B$10=Dash!$B$2,ROW(report_master!$A$2:$A$10)-1),ROWS($A$1:A1))),"")

Drag across and down. Change those ranges!! Row 10 is not large enough.

If the sheet is large id use code for this though.
 
Upvote 0
hmmm, the sheet is currently 83233 rows and 25 columns
I'll try that formula now
 
Upvote 0
it seems to work for the first 10 lines, but the block is at the $B$10 in the formula. I try and change it and it will not let me. it changes back to 10 as soon as I press enter.
 

Attachments

  • result.JPG
    result.JPG
    188.9 KB · Views: 6
Upvote 0
The 83233 needs to replace the 10 in all of the report_master ranges. Then use CTRL-SHIFT-ENTER. This is a large range though so id definitely use code. You will find it tediously slow.
 
Upvote 0
What version of Xl are you using?
If you go to account settings, you can select your version & platform so that it appears in your mini-profile beside every post. Saves members asking.
 
Upvote 0
When I did that, the first cell went blank (attached).

Any code solutions or suggestions?
 

Attachments

  • after CSE.JPG
    after CSE.JPG
    193.9 KB · Views: 7
Upvote 0

Forum statistics

Threads
1,215,852
Messages
6,127,322
Members
449,374
Latest member
analystvar

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