If Statement

wilcor

New Member
Joined
Mar 7, 2002
Messages
6
Working with two sheets in same workbook.
Sheet 1 data input
Sheet 2 Report using data in Sheet 1

Problem:

If Col B3, sheet 1 = 20, I want the TEXT in B1, Sheet 1 to store in A2 of sheet 2.

Any help will be greatly appreciated.
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
On 2002-03-08 07:05, wilcor wrote:
Working with two sheets in same workbook.
Sheet 1 data input
Sheet 2 Report using data in Sheet 1

Problem:

If Col B3, sheet 1 = 20, I want the TEXT in B1, Sheet 1 to store in A2 of sheet 2.

Any help will be greatly appreciated.
Put this in A2 of Sheet 2

=IF(Sheet1!B3=20,Sheet1!B1,"")

I assume you want nothing if B3 in Sheet1 doesn't equal 20. If my assumption is wrong let me know.

Regards,
 
Upvote 0

Forum statistics

Threads
1,213,532
Messages
6,114,176
Members
448,554
Latest member
Gleisner2

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