#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Simple IF problem

I am trying to figure out how I can return 6 numbers from 1 row to another
part on my data sheet depending on what result I get

IE: "IF AX67=1 THEN AX67=B1:G1"
OR
"IF AX67=12 THEN AX79=B12:G12"
Iwould like to move 20 lines with 6 cells in a sorted order depending on
result

Do I have to change B1:G1 to a text form to do this?

  #2   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Simple IF problem

One way ..

Select a 5 cell horiz range, eg: select AX1:BB1
then place this in the formula bar,
and array-enter the formula by pressing CTRL+SHIFT+ENTER
(instead of just pressing ENTER):
=IF(AX67=1,B1:F1,IF(AX67=12,B12:F12,""))
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Old Timer" wrote:
I am trying to figure out how I can return 6 numbers from 1 row to another
part on my data sheet depending on what result I get

IE: "IF AX67=1 THEN AX67=B1:G1"
OR
"IF AX67=12 THEN AX79=B12:G12"
Iwould like to move 20 lines with 6 cells in a sorted order depending on
result

Do I have to change B1:G1 to a text form to do this?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Simple Bar Charting Problem: Would Sure Appreciate Some Help On This Robert11 Charts and Charting in Excel 1 March 9th 06 12:03 AM
simple graphing problem Daff Excel Discussion (Misc queries) 3 March 8th 06 03:00 PM
simple formula problem Bob Bedford Excel Discussion (Misc queries) 4 February 24th 06 10:58 AM
Simple problem I'm sure John New Users to Excel 1 February 15th 06 01:37 AM
Very simple percentage problem News Account New Users to Excel 8 June 29th 05 10:35 PM


All times are GMT +1. The time now is 11:47 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"