If statement, push rows down if false

sjc4

New Member
Joined
Jul 7, 2011
Messages
48
Hi everyone. First off let me say i'm glad to be back on the site, and thanks for reading. Here is my question:

I want to run an if statement, and if this if statement is false i want the excel spreadsheet to push the row that is false and compare it to the next row down. (IF A1=B1, "true", false then move rows down one cell) Any suggestions for this?
 
Last edited:

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
Just keep going with your IF statements. I can't remember how many, but I've hit a max in number of nested IF statements.

=IF(A1=B1, "true", IF(A1=B2, "true2", IF(A1=B3, "true3", "Nothing")))
 
Upvote 0
thanks for the input. i'll go with that. hey, while i have your attention, i have another question. i have two cells, one is a number and the other is a word. i want to combine the number and the first 5 letters of the word. only the first five. do you know how to do that?
 
Upvote 0

Forum statistics

Threads
1,224,506
Messages
6,179,159
Members
452,892
Latest member
yadavagiri

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