Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Ryan M via OfficeKB.com
 
Posts: n/a
Default Cell values based upon multiple conditions


I am trying to make a spreadsheet for my business and I cant figure out one
thing. basically if cell C29 reads 2, I need cell B18 to read 50...... if
C29 reads 4, I need B18 to read 105....... if C29 is 6, B18 needs to be 165..
........... and if C29 is 8, than B18 Needs to be 230.. is there a way to
do this???
  #2   Report Post  
David McRitchie
 
Posts: n/a
Default

C29 B18
2 50 25*2 + 0
4 105 25*4 + 5
6 165 25*6 + 15
8 230 25*8 + 30

Can you be more specific as to how the numbers are derived or are you
asking for a guess at a progression.


---
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"Ryan M via OfficeKB.com" wrote in message ...

I am trying to make a spreadsheet for my business and I cant figure out one
thing. basically if cell C29 reads 2, I need cell B18 to read 50...... if
C29 reads 4, I need B18 to read 105....... if C29 is 6, B18 needs to be 165..
.......... and if C29 is 8, than B18 Needs to be 230.. is there a way to
do this???



  #3   Report Post  
RagDyer
 
Posts: n/a
Default

Enter this in B18:

=VLOOKUP(C29,{2,50;4,105;6,165;8,230},2,0)

Is this what you're looking for?
--
HTH,

RD
==============================================
Please keep all correspondence within the Group, so all may benefit!
==============================================



"Ryan M via OfficeKB.com" wrote in message
...

I am trying to make a spreadsheet for my business and I cant figure out

one
thing. basically if cell C29 reads 2, I need cell B18 to read 50...... if
C29 reads 4, I need B18 to read 105....... if C29 is 6, B18 needs to be

165..
.......... and if C29 is 8, than B18 Needs to be 230.. is there a way

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
generate multiple rows based on cell value Theresa Excel Worksheet Functions 0 May 25th 05 11:18 PM
Formula to compare multiple rows values based on another column? Murph Excel Worksheet Functions 4 February 21st 05 02:44 AM
Toggle multiple values in single cell Chandni Excel Worksheet Functions 5 February 10th 05 12:48 AM
Formula to return cell contents based on multiple conditions Bill Excel Worksheet Functions 3 January 19th 05 09:59 AM
Returning a Value to a Cell Based on a Range of Uncertain Size amc422 Excel Worksheet Functions 7 November 14th 04 03:03 PM


All times are GMT +1. The time now is 03:52 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"