Formula That Selects Next Cell

jmeyer180

New Member
Joined
May 21, 2014
Messages
19
I'm using Excel 2011 on my Mac, and I need to find a way to make excel do the following in a large amount of data:

Put into words, if column 6 doesn't equal the total, then the input needs to be the next cell to the right. Sorry this is the best way I know how to explain it, please let me know how to fix it!

Thanks,

Joel
1234567
A TotalFirst nonblank entryFormula I need to figure out
B3143if(B5=B4,0,if not then the cell after B1 which is B2
C333Should be 0
D333Should be 0
E5165Should be 0
F32383Should be 2
G111Should be 1

<tbody>
</tbody>
 
Haha it was very hard to understand when I was handed the project as well. I'll try putting it this way, maybe it will help:

User 7 purchases 8 items in April. This is user 7's first month. As a result, he gets an 8 in the Month 1 column. In May, he didn't buy anything. Therefore, month 2 gets a "0". In June he made 6 purchases, causing him to get a 6 in the month 3 column.

The formula Aladin gave gets rid of all empty cells. That would work, but I need to include the cells once the user starts buying from the company.
 
Upvote 0

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
Haha it was very hard to understand when I was handed the project as well. I'll try putting it this way, maybe it will help:

User 7 purchases 8 items in April. This is user 7's first month. As a result, he gets an 8 in the Month 1 column. In May, he didn't buy anything. Therefore, month 2 gets a "0". In June he made 6 purchases, causing him to get a 6 in the month 3 column.

The formula Aladin gave gets rid of all empty cells. That would work, but I need to include the cells once the user starts buying from the company.

What I just mentioned above is what I want to happen. Instead, I get the 8,6,0 like you said.

Are you saying that the formula somehow does not satisfy? If so, in which way?
 
Upvote 0
Gonna put a helper column in. at cell R2:=SMALL(IF(ISNUMBER(M2:P2),COLUMN(M2:P2)),1) ctrl+shift+enter and drag down as far as you need to.
in cell S2: =IF($R2+COLUMNS($S2:S2)-1>16,0,INDIRECT(ADDRESS(ROWS(S$1:S2),$R2+COLUMNS($S2:S2)-1))) drag down and to the right as far as you need to.
 
Upvote 0

Forum statistics

Threads
1,215,436
Messages
6,124,869
Members
449,192
Latest member
MoonDancer

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