LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 87
Default Macro question

Hi

I have following requirement:

I have four numbers 2, 8, 10 and 11. I have one equation:

(n1+n2)*n3+n4

I have to find out result of this equation for all combinations of numbers.

There will be total 16 such combinations and results. But how can I do it in
macro. I can write a6 conditions, but do not want to do it. Is there any
other method to do this?

Thank you in advance.

Regards,
prm
 
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
Excel 2007 Macro/VB Question DDE Question MadDog22 Excel Worksheet Functions 1 March 10th 10 01:47 AM
Macro question. brandon roland[_2_] Excel Programming 4 August 9th 07 02:52 PM
MACRO QUESTION HELP Excel Discussion (Misc queries) 1 May 26th 06 05:59 PM
Question about macro Jason Excel Discussion (Misc queries) 0 April 27th 05 10:37 PM
one more macro question Michael A Excel Programming 1 March 7th 05 04:02 AM


All times are GMT +1. The time now is 07:43 AM.

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

About Us

"It's about Microsoft Excel"