1. Select cells A3:A4
2. Type =IF(A5=20,10,IF(A5=10,5,""))
3. Press the Shift+Ctrl+Enter keys
Cells A3:A4 should now contain a single array
formula:
{=IF(A5=20,10,IF(A5=10,5,""))}
This can also be done without a nested if:
1. Select cells A3:A4
2. Type =IF(OR(A5={10,20}),A5/2,"")
3. Press the Shift+Ctrl+Enter keys
Cells A3:A4 should now contain a single array
formula:
{=IF(OR(A5={10,20}),A5/2,"")}
Re: By the way... Thanks for quick response
Thanks for the quick response. I will try out the entire spreadsheet that I need to do and let you know how it goes.
I didn't expect a response that fast, keep up the great work.
Eric
Re: By the way... It works perfectly
It worked exactly as I needed it too. Thanks for helping me out.
Eric